Localize submitted time
-
Hi,
Adding a time zone allows the submitted time to be correct for whatever timezone the WordPress installation is set to. Adding:date_default_timezone_set( get_option( ‘timezone_string’, ‘America/New_York’ ) );
just before
$time = time();
on line 2649 of accua-forms.php sets the timezone to the WordPress options setting, with an optional fallback to US east coast (but the default could be anything or nothing).
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Localize submitted time’ is closed to new replies.