1
0
mirror of https://github.com/Yubico/yubikey-val.git synced 2025-01-20 10:52:15 +01:00

No time zone, UTC default

This commit is contained in:
Paul Chen 2008-11-21 06:41:13 +00:00
parent b639461d87
commit 25f16f2993

View File

@ -35,9 +35,11 @@ function genRandRaw($len) {
return $s;
}
// Return eg. 2008-11-21T06:11:55
//
function getUTCTimeStamp() {
date_default_timezone_set('UTC');
return date('Y-m-d\TH:i:s\ZZ', time());
return date('Y-m-d\TH:i:s', time());
}
// Sign a http query string in the array of key-value pairs