chrono-node 1.4.8 → 1.4.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/chrono.js
CHANGED
|
@@ -1761,9 +1761,9 @@ exports.Parser = function ENDeadlineFormatParser() {
|
|
|
1761
1761
|
date = date.add(num, 'year');
|
|
1762
1762
|
}
|
|
1763
1763
|
|
|
1764
|
-
result.start.
|
|
1765
|
-
result.start.
|
|
1766
|
-
result.start.
|
|
1764
|
+
result.start.assign('year', date.year());
|
|
1765
|
+
result.start.assign('month', date.month() + 1);
|
|
1766
|
+
result.start.assign('day', date.date());
|
|
1767
1767
|
return result;
|
|
1768
1768
|
}
|
|
1769
1769
|
|
|
@@ -1775,12 +1775,12 @@ exports.Parser = function ENDeadlineFormatParser() {
|
|
|
1775
1775
|
date = date.add(num, 'second');
|
|
1776
1776
|
}
|
|
1777
1777
|
|
|
1778
|
-
result.start.
|
|
1779
|
-
result.start.
|
|
1780
|
-
result.start.
|
|
1781
|
-
result.start.
|
|
1782
|
-
result.start.
|
|
1783
|
-
result.start.
|
|
1778
|
+
result.start.assign('year', date.year());
|
|
1779
|
+
result.start.assign('month', date.month() + 1);
|
|
1780
|
+
result.start.assign('day', date.date());
|
|
1781
|
+
result.start.assign('hour', date.hour());
|
|
1782
|
+
result.start.assign('minute', date.minute());
|
|
1783
|
+
result.start.assign('second', date.second());
|
|
1784
1784
|
result.tags['ENDeadlineFormatParser'] = true;
|
|
1785
1785
|
return result;
|
|
1786
1786
|
};
|