IRC log has duplicate and missing months
Closed, ResolvedPublic

Description

http://irc.apertus.org/index.php
Only showing months with 31 days (no Feb, April, etc)

Months =! 31 days are replaced by the next month.

Interesting glitch :-)

intracube updated the task description. (Show Details)
intracube raised the priority of this task from to Needs Triage.
intracube assigned this task to sebastian.
intracube added a subscriber: intracube.

very strange indeed, will look into it right away

sebastian closed this task as Resolved.Dec 31 2014, 2:24 PM

fixed.

turns out the problem was that strtotime (currentdatetime - 1 month); on the last day of the month generated a time that is exactly the first second of the current month because the server timezone is not UTC (30th november 23:00 GMT) from today 31st of december) so I now subtract 1 second from the result and everything is working as expected again :)

philippej reopened this task as Open.Dec 31 2014, 8:04 PM
philippej added a subscriber: philippej.

Now just need to add some file exist check : http://irc.apertus.org/index.php?day=01&month=01&year=2020

and hopefully only open the files we agree to show (aka as the irc logs :-) )

good discovery :)

will fix right away

sebastian closed this task as Resolved.Dec 31 2014, 10:12 PM

fixed

intracube reopened this task as Open.Jan 31 2015, 2:41 PM

Glitch is back :)
http://irc.apertus.org/

lol, damn these last days of the month... I will look into it :)