@bbn/bbn 2.0.114 → 2.0.115
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 -2
- package/package.json +1 -1
package/dist/dt.js
CHANGED
|
@@ -227,8 +227,7 @@ const dt = (value, inputFormat = null, cls = 'auto') => {
|
|
|
227
227
|
}
|
|
228
228
|
else {
|
|
229
229
|
bbn.fn.log(value);
|
|
230
|
-
throw new Error(_('Invalid date value
|
|
231
|
-
return { isValid: false };
|
|
230
|
+
throw new Error(_('Invalid date value'));
|
|
232
231
|
}
|
|
233
232
|
//throw new Error(_('Invalid date value: %s', value));
|
|
234
233
|
};
|