You know you’re an obsessive-compulsive standards snob when you get upset at non-standard behaviour of utilities like rotatelogs (included in the Apache web server). It does exactly what it sounds like: rotates your logs after a period of time, however long you define. It names the logs whatever you tell it, even allowing you to use strftime() syntax.

But, it doesnt use the local time to rotate the logs, like a normal sane application would. Oh no, it takes your local time and then MUNGES IT TO FUCKING UTC! You have to tell it how many hours you are from UTC! That means I have to change my httpd.conf next sunday!

I have created a solution though.