From 324944f3329b99e527f12c65e4a0e1358e8f180a Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 7 Nov 2010 18:14:48 +0300 Subject: implement per-user timezone support; store dates in UTC internally (closes #254) --- mobile/classic/functions.php | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'mobile/classic/functions.php') diff --git a/mobile/classic/functions.php b/mobile/classic/functions.php index bd61bbfd2..4cb58308e 100644 --- a/mobile/classic/functions.php +++ b/mobile/classic/functions.php @@ -522,13 +522,8 @@ $content_link = "" . $line["title"] . ""; - if (get_pref($link, 'HEADLINES_SMART_DATE')) { - $updated_fmt = smart_date_time(strtotime($line["updated"])); - } else { - $short_date = get_pref($link, 'SHORT_DATE_FORMAT'); - $updated_fmt = date($short_date, strtotime($line["updated"])); - } - + $updated_fmt = make_local_datetime($link, $line['updated'], false); + print "
  • "; print "