Ticket #460: ticket460.patch
| File ticket460.patch, 0.5 KB (added by jayfresh, 4 years ago) |
|---|
-
Dates.js
26 26 t = t.replace(/0DD/g,String.zeroPad(this.getDate(),2)); 27 27 t = t.replace(/DDth/g,this.getDate()+this.daySuffix()); 28 28 t = t.replace(/DD/g,this.getDate()); 29 t = t.replace(/TZD/g,(this.getTimezoneOffset() < 0 ? '-' : '+') + (this.getTimezoneOffset() / 60 < 10 ? '0' : '') + (this.getTimezoneOffset() / 60) + (this.getTimezoneOffset() % 60 == 0 ? ':00' : ':30')); 29 30 return t; 30 31 }; 31 32
