mirror of
https://github.com/garrytan/gstack.git
synced 2026-09-21 04:10:47 +02:00
harden runtime packaging and verification
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
/** Resolve an injectable clock and serialize it for durable runtime state. */
|
||||
export function currentIsoTimestamp(now) {
|
||||
const current = now ? now() : new Date();
|
||||
return current.toISOString();
|
||||
}
|
||||
Reference in New Issue
Block a user