2019-01-28 23:13:21 -05:00
|
|
|
-- LUALOCALS < ---------------------------------------------------------
|
|
|
|
local math, tonumber
|
|
|
|
= math, tonumber
|
|
|
|
local math_floor
|
|
|
|
= math.floor
|
|
|
|
-- LUALOCALS > ---------------------------------------------------------
|
2019-01-26 22:17:36 -05:00
|
|
|
|
2019-01-28 23:13:21 -05:00
|
|
|
local stamp = tonumber("$Format:%at$")
|
2019-02-04 20:15:33 -05:00
|
|
|
if not stamp then return end
|
2019-01-28 23:13:21 -05:00
|
|
|
stamp = math_floor((stamp - 1540612800) / 60)
|
|
|
|
stamp = ("00000000" .. stamp):sub(-8)
|
2019-02-04 20:15:33 -05:00
|
|
|
return stamp .. "-$Format:%h$"
|