1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-27 06:51:28 +00:00

implement per-user timezone support; store dates in UTC internally (closes #254)

This commit is contained in:
Andrew Dolgov
2010-11-07 18:14:48 +03:00
parent f3f67c1b53
commit 324944f332
14 changed files with 656 additions and 72 deletions

View File

@@ -370,7 +370,13 @@
print "<td class=\"prefValue\">";
if ($pref_name == "DEFAULT_UPDATE_INTERVAL") {
if ($pref_name == "USER_TIMEZONE") {
$timezones = explode("\n", file_get_contents("lib/timezones.txt"));
print_select($pref_name, $value, $timezones);
} else if ($pref_name == "DEFAULT_UPDATE_INTERVAL") {
global $update_intervals_nodefault;