Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit 7684939

Browse files
committed
Fix for timezone.
1 parent 2322b93 commit 7684939

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

initializers/helper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1101,7 +1101,7 @@ helper.checkDates = function (startDate, endDate) {
11011101
*/
11021102
helper.formatDate = function (date, format) {
11031103
if (date) {
1104-
return moment(date).utc().format(format);
1104+
return date.substring(0, format.length);
11051105
}
11061106
return '';
11071107
};

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"bigdecimal": "0.6.1",
2727
"bignum": "0.6.2",
2828
"java": "0.2.9",
29-
"informix-wrapper": "git://github.com/cloudspokes/informix-wrapper.git#1b3c12d90dba5b464d2f0a54a11953b1d68dc262",
29+
"informix-wrapper": "git://github.com/cloudspokes/informix-wrapper.git#ae513d6c27d14acaef52092165831dcf23fc83dd",
3030
"forums-wrapper": "git://github.com/cloudspokes/forums-wrapper.git#9066f062e4e2a97b3de89e047a3b022443e7dd83",
3131
"asn1": "*",
3232
"crypto": ">= 0.0.3",

0 commit comments

Comments
 (0)