File th1ish/unit/001-020.th1ish artifact d72c775fe3 part of check-in 752aad3eb7
scope { const F = Fossil const T = F.time var nowj = T.now(true); var s = T.julianToHuman( nowj ) assert 19 === s.length() assert 32 === s.byteAt(10) s = T.julianToISO8601( nowj, true ) assert F.globMatches('[0-2][0-1][0-9][0-9]-*', s) assert 23 === s.length() assert 'T' === s.charAt(10) //print(T.now()) //print(T.unixToJulian(T.now())) //print(T.julianToHuman(T.unixToJulian(T.now()))) }