@fonixtree/magic-design 3.0.2 → 3.0.3

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.
@@ -367,8 +367,7 @@ function (_super) {
367
367
  _this.toLocale = function (value) {
368
368
  var locale = (0, _storeUtil.getStore)(_constants.STORAGE_KEY.FISHX_LOCALE) || (0, _storeUtil.getStore)(_constants.STORAGE_KEY.LOCALE);
369
369
 
370
- if (locale == 'mn') {
371
- // const time = newDate('2024-10-13 10:11:00');
370
+ if (locale === 'mn' || locale === 'id-ID') {
372
371
  var time = (0, _dateUtil.newDate)(value);
373
372
 
374
373
  var _hour = time.getHours() < 10 ? '0' + time.getHours() : time.getHours();
@@ -367,8 +367,7 @@ function (_super) {
367
367
  _this.toLocale = function (value) {
368
368
  var locale = (0, _storeUtil.getStore)(_constants.STORAGE_KEY.FISHX_LOCALE) || (0, _storeUtil.getStore)(_constants.STORAGE_KEY.LOCALE);
369
369
 
370
- if (locale == 'mn') {
371
- // const time = newDate('2024-10-13 10:11:00');
370
+ if (locale === 'mn' || locale === 'id-ID') {
372
371
  var time = (0, _dateUtil.newDate)(value);
373
372
 
374
373
  var _hour = time.getHours() < 10 ? '0' + time.getHours() : time.getHours();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fonixtree/magic-design",
3
3
  "author": "Cylon Team",
4
- "version": "3.0.2",
4
+ "version": "3.0.3",
5
5
  "description": "Magic Design",
6
6
  "license": "MIT",
7
7
  "module": "es/index.js",