cronapp-lib-js 3.0.0-SP.40 → 3.0.0-SP.41

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.
@@ -494,7 +494,11 @@ StimulsoftHelper.prototype.overrideMethods = function() {
494
494
  d = "2015-12-31";
495
495
  }
496
496
  if (d.length < 5 || (!d.match(TIME_PATTERN) && d.indexOf('-')) == -1) {
497
- return d;
497
+ try {
498
+ return new Stimulsoft.System.DateTime(new Date(d));
499
+ } catch (e) {
500
+ return d;
501
+ }
498
502
  }
499
503
 
500
504
  if (typeof logError === 'undefined') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cronapp-lib-js",
3
- "version": "3.0.0-SP.40",
3
+ "version": "3.0.0-SP.41",
4
4
  "description": "Javascript library for CronApp's projects",
5
5
  "main": "index.js",
6
6
  "scripts": {