Skip to content

Commit

Permalink
currrent_time() default producing six hour offset here in US (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeiLL authored Apr 25, 2023
1 parent 985fdd7 commit 9c5e0f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cronplus.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class CronPlus {
*/
function __construct( $args ) {
$defaults = array(
'time' => current_time( 'timestamp' ), // If you want a specific time (unix timestamp required)
'time' => current_time('timestamp', true), // If you want a specific time (unix timestamp required)
'recurrence' => 'hourly', // Hourly,daily,twicedaily,weekly,monthly
'name' => 'cronplus',
'schedule' => 'schedule', // Schedule or single,
Expand Down

0 comments on commit 9c5e0f8

Please sign in to comment.