Skip to content

Commit b3bb681

Browse files
committed
Use gmdate
1 parent 1105c5e commit b3bb681

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DB_Command_SQLite.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ protected function sqlite_export( $file, $assoc_args ) {
372372
fwrite( $output, "\n" );
373373
}
374374

375-
fwrite( $output, '-- Dump completed on ' . date( 'Y-m-d H:i:s' ) . "\n\n" );
375+
fwrite( $output, '-- Dump completed on ' . gmdate( 'Y-m-d H:i:s' ) . "\n\n" );
376376
} catch ( PDOException $e ) {
377377
fclose( $output );
378378
WP_CLI::error( 'Export failed: ' . $e->getMessage() );

0 commit comments

Comments
 (0)