mirror of
https://github.com/Yubico/yubikey-val.git
synced 2025-02-01 01:52:18 +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 $s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Return eg. 2008-11-21T06:11:55
|
||||||
|
//
|
||||||
function getUTCTimeStamp() {
|
function getUTCTimeStamp() {
|
||||||
date_default_timezone_set('UTC');
|
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
|
// Sign a http query string in the array of key-value pairs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user