revert gmt manually
This commit is contained in:
parent
8e8bcaecdd
commit
ee38cd5c93
|
@ -248,10 +248,10 @@
|
|||
$tz_offset = +2;
|
||||
|
||||
/* (2) Get GMT (UTC+0) timestamp */
|
||||
$ts = strtotime("${day} $hour:$min:00");
|
||||
$ts = strtotime("${day} $hour:$min:00") - (3600*$tz_offset);
|
||||
|
||||
/* (3) Return GMT date */
|
||||
return gmdate("Ymd\THis\Z", $ts);
|
||||
return date("Ymd\THis\Z", $ts);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue