Spacefish / powerdns-webinterface

Automatically exported from code.google.com/p/powerdns-webinterface
Apache License 2.0
10 stars 4 forks source link

Date of last login does not take timezone into consideration #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Compare the results of pdns-webinterface and 
<?php
echo date('l jS \of F Y h:i:s A');
?>

What is the expected output? What do you see instead?
I see +0 time instead of Moscow time.

What version of the product are you using? On what operating system?
FreeBSD/pdns-webnterface 1.4.1/Nginx 1.0.8

Please provide any additional information below.
I hate my QA past... you too now, i guess :)

Original issue reported on code.google.com by ruben.ar...@gmail.com on 22 Nov 2011 at 11:47

GoogleCodeExporter commented 9 years ago
i hatted QA in the company i worked for ;) but think thats pretty normal for a 
developer. But you need QA to do good software aswell.

The lastLogin time is generated via NOW() in mysql and doesn´t take your 
timezone into account..

Maybe i should save all times in UTC and calculate the correct time via 
Browserlocation? (difference between time read via JS and UTC time saved)

Original comment by timo.witte on 26 Nov 2011 at 12:28

GoogleCodeExporter commented 9 years ago

Original comment by timo.witte on 26 Nov 2011 at 12:36

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 032f98a62fe5.

Original comment by timo.witte on 23 Jul 2012 at 10:43