sunstone-date-fix.patch
src/sunstone/public/js/one-ui_views.js Mon May 23 12:56:16 2011 +0200 | ||
---|---|---|
3603 | 3603 |
var hour = pad(d.getHours(),2); |
3604 | 3604 |
var mins = pad(d.getMinutes(),2); |
3605 | 3605 |
var day = pad(d.getDate(),2); |
3606 |
var month = pad(d.getMonth(),2); |
|
3606 |
var month = pad(d.getMonth() + 1,2);
|
|
3607 | 3607 |
var year = d.getFullYear(); |
3608 | 3608 | |
3609 | 3609 |
return hour + ":" + mins +":" + secs + " " + month + "/" + day + "/" + year; |