Skip to content

Commit c363f07

Browse files
committed
Use gmdate() instead of date()
1 parent eaa083b commit c363f07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/make-phar.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ function get_composer_versions( $current_version ) {
124124
return '';
125125
}
126126

127-
$vendor_versions = [ implode( ' ', [ 'wp-cli/wp-cli', $current_version, date( 'c' ) ] ) ];
127+
$vendor_versions = [ implode( ' ', [ 'wp-cli/wp-cli', $current_version, gmdate( 'c' ) ] ) ];
128128
$missing_names = 0;
129129
$missing_versions = 0;
130130
$missing_references = 0;

0 commit comments

Comments
 (0)