Time, Time Zone and the total mess...
So, I realized that in my toy app all times where off by two hours. I thought »Ha, that's easy.« and now I'm officially surrendering.
I created a quite simple testcase, and even that one tries to tell me that these times are the same:
So, until now I thought "+0200" means »two hours ahead of UTC«. Why is it supposed to be one nowadays?
So now my questions: Is this Ubuntu Hardy, I'm using here, a total mess? Do I do something wrong? Doesn't this work at all? Why does it keep trying to pretend that these times are the same?
I created a quite simple testcase, and even that one tries to tell me that these times are the same:
2009-05-07 12:00:00 +0000
2009-05-07 13:00:00 +0200So, until now I thought "+0200" means »two hours ahead of UTC«. Why is it supposed to be one nowadays?
So now my questions: Is this Ubuntu Hardy, I'm using here, a total mess? Do I do something wrong? Doesn't this work at all? Why does it keep trying to pretend that these times are the same?
Syndicated 2009-05-07 15:34:36 (Updated 2009-05-14 12:08:41) from herzi.eu
