@bbn/bbn 2.0.117 → 2.0.118
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/bbn.js +1 -1
- package/dist/bbn.js.map +1 -1
- package/dist/dt.js +1 -6
- package/package.json +1 -1
package/dist/dt.js
CHANGED
|
@@ -177,12 +177,7 @@ const dt = (value, inputFormat = null, cls = 'auto') => {
|
|
|
177
177
|
}
|
|
178
178
|
if (typeof value === 'string') {
|
|
179
179
|
if (inputFormat) {
|
|
180
|
-
|
|
181
|
-
try {
|
|
182
|
-
parsed = parse(value, inputFormat, cls, true);
|
|
183
|
-
return parsed;
|
|
184
|
-
}
|
|
185
|
-
catch (e) { }
|
|
180
|
+
return parse(value, inputFormat, cls, true);
|
|
186
181
|
}
|
|
187
182
|
else {
|
|
188
183
|
const format = guessFormat(value);
|