puvox-library 1.0.56 → 1.0.57

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.
@@ -964,7 +964,7 @@ const puvox_library =
964
964
  s = dt.getSeconds();
965
965
  f = dt.getMilliseconds();
966
966
  }
967
- return [y.toString(), (M<10?'0':'')+M.toString(), (d<10?'0':'')+d.toString(), (h<10?'0':'')+h.toString(), (m<10?'0':'')+m.toString(), (s<10?'0':'')+s.toString(), (f<10?'00':(f<100?'0':''))+f.toString()];
967
+ return {y:y.toString(), M:(M<10?'0':'')+M.toString(), d:(d<10?'0':'')+d.toString(), h:(h<10?'0':'')+h.toString(), m:(m<10?'0':'')+m.toString(), s:(s<10?'0':'')+s.toString(), f:(f<10?'00':(f<100?'0':''))+f.toString()};
968
968
  },
969
969
  prefixWithZero(num, digits){
970
970
  return (digits===1 ? num : (digits===2 ? (num < 10 ? "0"+num : num ) : (digits===3 ? (num < 10 ? "00"+num : (num < 100 ? "0"+num : num ) ) : num ) ) ).toString();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "puvox-library",
3
- "version": "1.0.56",
3
+ "version": "1.0.57",
4
4
  "description": "library-class-javascript",
5
5
  "main": "library_standard.js",
6
6
  "scripts": {