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:
parent
b639461d87
commit
25f16f2993
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user