$arr['time'] = mktime($arr['H'], $arr['M'], $arr['S'],
$arr['m'], $arr['d'], $arr['y']); global $fp_config;
$arr['time'] = 60*60*$fp_config['locale']['timeoffset'] +
gmmktime($arr['H'], $arr['M'], $arr['S'],
$arr['m'], $arr['d'], $arr['y']);quietdragon said: Generally speaking, my experience has been that date records and timestamps should be stored as UTC. Dates should be shown in local time where appropriate. To accomplish this, a mechanism such as the TZ variable in tzset(3) should be used because the rules to accomplish the transformation from UTC to local civil time are somewhat arcane especially when it comes to Daylight Saving Time. A simple UTC offset simply isn't expressive enough in the general case.
quietdragon said: I'm also not so sure about your suggestion to put this in lang/en-us. This is not a language issue, it's an issue of geography. I may want the display to be in English, but my server might be located in Asia
Warning: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'GMT/0.0/no DST' instead in /Users/anwarchoukah/Sites/created_by/flatpress/fp-includes/core/core.date.php on line 28Warning: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'GMT/0.0/no DST' instead in /Users/anwarchoukah/Sites/created_by/flatpress/fp-includes/core/core.date.php on line 46
It looks like you're new here. If you want to get involved, click one of these buttons!