@onehat/data 1.11.0 → 1.11.1
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/src/Util/Formatters.js +3 -3
package/package.json
CHANGED
package/src/Util/Formatters.js
CHANGED
|
@@ -78,7 +78,7 @@ class Formatters {
|
|
|
78
78
|
return moment(date).format(format);
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
|
-
return
|
|
81
|
+
return null;
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
static FormatDateTime = (value, format = 'MMM DD, YYYY HH:mm:ss') => {
|
|
@@ -94,7 +94,7 @@ class Formatters {
|
|
|
94
94
|
return moment(date).format(format);
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
|
-
return
|
|
97
|
+
return null;
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
static FormatTime = (value) => {
|
|
@@ -111,7 +111,7 @@ class Formatters {
|
|
|
111
111
|
return moment(date).format(format);
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
|
-
return
|
|
114
|
+
return null;
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
static FormatHours = (value) => {
|