sbd-npm 1.3.29 → 1.3.30
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/package.json +1 -1
- package/util.js +1 -0
package/package.json
CHANGED
package/util.js
CHANGED
@@ -1862,6 +1862,7 @@ const Util = {
|
|
1862
1862
|
*/
|
1863
1863
|
format_to_second: function (format) {
|
1864
1864
|
if (Util.regexp_date_yyyymmdd(format)) {
|
1865
|
+
format = format + "";
|
1865
1866
|
let year = format.slice(0, 4);
|
1866
1867
|
let month = format.slice(4, 6);
|
1867
1868
|
let day = format.slice(6, 8);
|