mirror of
https://github.com/klaussilveira/gitlist.git
synced 2025-11-17 11:10:57 +01:00
Correct display of month
Month displayed was incorrect, as JavaScript Date.getMonth() starts at 0. So November was displayed as '10'.
This commit is contained in:
@@ -182,7 +182,7 @@
|
||||
*/
|
||||
function getDateString( date ) {
|
||||
return twoDigits( date.getDate() ) + '/'
|
||||
+ twoDigits( date.getMonth() ) + '/'
|
||||
+ twoDigits( date.getMonth() + 1 ) + '/'
|
||||
+ date.getFullYear() + ' at '
|
||||
+ twoDigits(date.getHours()) + ':'
|
||||
+ twoDigits(date.getMinutes()) + ':'
|
||||
|
||||
Reference in New Issue
Block a user