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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/util.js +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sbd-npm",
3
- "version": "1.3.29",
3
+ "version": "1.3.30",
4
4
  "description": "Stock Big Data",
5
5
  "main": "index.js",
6
6
  "scripts": {
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);