I'm using the Blog module, and have noticed that if a month is listed eg /blog/2016/08 then the value for $day is set to 0. When this is input into mktime() it creates an incorrect date. Changing the $day default to 1 creates an accurate mktime() date.
For example today's month list (2016/08), the date returned is 31st July 2016, which means the title displayed is "Jul".
Comments