Skip to content

Commit 21f92b9

Browse files
committed
Improve debugging for date parse failures
1 parent 7334c96 commit 21f92b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

LDK/resources/web/LDK/ConvertUtils.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ LDK.ConvertUtils = new function(){
3737
// Mon Jan 01 2024 00:00:00 GMT-0800 (Pacific Standard Time)
3838
// Therefore special case this format and append the browser's time zone:
3939
if (format === 'c' && value && value.length === 10) {
40-
if (this.verboseLogging) {
40+
if (verboseLogging) {
4141
console.log('switching from c to Y-m-d format')
4242
}
4343

@@ -132,7 +132,7 @@ LDK.ConvertUtils = new function(){
132132
},
133133

134134
setVerboseLogging: function(val) {
135-
this.verboseLogging = val;
135+
verboseLogging = val;
136136
}
137137
}
138138
};

0 commit comments

Comments
 (0)