delivery-tracker
Advanced tools
Comparing version 1.6.2 to 1.6.3
@@ -8,3 +8,3 @@ #! /usr/bin/env node | ||
.arguments('<tracecode>') | ||
.option('-c, --courier <courier>', 'Courier Namespace', /^(KOREAPOST|ECARGO|FEDEX|PANTOS|RINCOS|AUSPOST|ROYALMAIL|USPS|CJKOREAEXPRESS|POSLAJU|YELLOEXPRESS|EFS|AIRBRIDGE)$/i) | ||
.option('-c, --courier <courier>', 'Courier Namespace', /^(KOREAPOST|ECARGO|FEDEX|PANTOS|RINCOS|AUSPOST|ROYALMAIL|USPS|CJKOREAEXPRESS|POSLAJU|YELLOEXPRESS|EFS|AIRBRIDGE|UPS)$/i) | ||
.action(function (tracecode) { | ||
@@ -11,0 +11,0 @@ if (!tracker.COURIER[program.courier]) { |
@@ -0,1 +1,4 @@ | ||
# 1.6.3 | ||
* fixed UPS time format bug | ||
# 1.6.2 | ||
@@ -2,0 +5,0 @@ * update UPS time format |
@@ -44,3 +44,3 @@ 'use strict' | ||
status: tracker.STATUS.IN_TRANSIT, | ||
time: moment([date, cols.eq(2).text().trim()].join(' '), (date.indexOf('/') === 2 ? 'MM/DD/YYYY' : 'YYYY/MM/DD') + ' HH:mm').format('YYYY-MM-DDTHH:mm') | ||
time: moment([date, cols.eq(2).text().trim()].join(' '), (date.indexOf('/') === 2 ? 'DD/MM/YYYY' : 'YYYY/MM/DD') + ' HH:mm').format('YYYY-MM-DDTHH:mm') | ||
} | ||
@@ -47,0 +47,0 @@ |
{ | ||
"name": "delivery-tracker", | ||
"version": "1.6.2", | ||
"version": "1.6.3", | ||
"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
52565