@bbn/bbn 2.0.3 → 2.0.4

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/date.js CHANGED
@@ -611,7 +611,7 @@ class bbnDateTool {
611
611
  const t = new Intl.DateTimeFormat([bbn.env.lang, ...navigator.languages], opt);
612
612
  return t.format(__classPrivateFieldGet(this, _bbnDateTool_value, "f"));
613
613
  }
614
- format(format = 'y-m-d h:i:s') {
614
+ format(format = 'YYYY-MM-DD HH:II:SS') {
615
615
  let str = '';
616
616
  if (format) {
617
617
  const reg = new RegExp('(\[|\]|' + Object.keys(unitsCorrespondence).join('|') + ')', 'g');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbn/bbn",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "description": "Javascript toolkit",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",