Skip to content

Commit

Permalink
updates version and sets timezone on auto imports
Browse files Browse the repository at this point in the history
  • Loading branch information
jamacon36 committed May 19, 2023
1 parent 732ec5c commit 031b255
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion wp-otis.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down Expand Up @@ -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, '' );

Expand Down

0 comments on commit 031b255

Please sign in to comment.