diff --git a/wp-otis.php b/wp-otis.php index 04381c7..edc753a 100644 --- a/wp-otis.php +++ b/wp-otis.php @@ -7,7 +7,7 @@ * Author URI: thinkshout.com * Text Domain: wp-otis * Domain Path: /languages - * Version: 1.1.15 + * Version: 1.2.3.1 * * @package Otis */ @@ -101,6 +101,8 @@ function wp_otis_acf_json_load_point( $paths ) { $import_active = get_option( WP_OTIS_IMPORT_ACTIVE, false ); if ($import_active == false) { + // Set the timezone to LA for the duration of the import and get the current date. + date_default_timezone_set( 'America/Los_Angeles' ); $current_date = date( 'c' ); $last_import_date = get_option( WP_OTIS_LAST_IMPORT_DATE, '' );