using timezone Asia/Kolkatta or Asia/Culcutta returns time which is incorrect.
<?php
$timezone = "Asia/Kolkata";
date_default_timezone_set($timezone);
echo date('d-m-Y H:i:s');
?>
** Changed in: apache2 (Ubuntu)
Status: Invalid => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/907816
Title:
libapache2-mod-php5 forgets timezone definition after some time
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/907816/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs