stable

Clone or download

Read-only

request #10962: Last Git push widget does not display pushes of the first week of 2018

PHP and MySQL does not compute the week number the same way: * for MySQL weeks start a Sunday and week 0 can exist [1] * for PHP weeks start a Monday [2] Let's be sane people: weeks start a Monday and week 0 does not exist. [1] https://dev.mysql.com/doc/refman/5.5/en/date-and-time-functions.html#function_week [2] https://secure.php.net/manual/en/function.date.php Change-Id: I05d255b66b486f90e2b25b2d6a75b8443eebaa3c

Modified Files

Name
M plugins/git/include/Git_LogDao.class.php +2 −2 Go to diff View file
M plugins/statistics/include/Statistics_DiskUsageDao.class.php +1 −1 Go to diff View file
M src/common/dao/SvnCommitsDao.class.php +1 −1 Go to diff View file