delivery-tracker
Advanced tools
Comparing version 2.3.7 to 2.3.8
@@ -1,2 +0,5 @@ | ||
# 2.3.6 | ||
# 2.3.8 | ||
* sicepat: apply updated return value | ||
# 2.3.7 | ||
* sicepat: fixed delivery status check issue. | ||
@@ -3,0 +6,0 @@ |
@@ -118,13 +118,9 @@ 'use strict' | ||
$body.find('.res-detail .table').eq(2).find('tr').each(function (idx) { | ||
if (idx === 0) { | ||
return true | ||
} | ||
var $cols = $(this).find('td') | ||
$body.find('.history-awb-timeline li').each(function (idx) { | ||
var checkpoint = { | ||
courier: courier, | ||
location: '', | ||
message: $cols.eq(1).text().trim(), | ||
message: $(this).find('.history-detail').text().trim(), | ||
status: tracker.STATUS.IN_TRANSIT, | ||
time: moment($cols.eq(0).text().trim() + '+0700', 'DD-MM-YYYY HH:mmZ').utc().format('YYYY-MM-DDTHH:mmZ') | ||
time: moment($(this).find('.history-date').text().trim() + '+0700', 'DD-MMM-YYYYHH:mmZ').utc().format('YYYY-MM-DDTHH:mmZ') | ||
} | ||
@@ -131,0 +127,0 @@ |
{ | ||
"name": "delivery-tracker", | ||
"version": "2.3.7", | ||
"version": "2.3.8", | ||
"author": { | ||
@@ -5,0 +5,0 @@ "name": "egg", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
74119
2106