X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/bb4e81dc9fee098981ea7a036c892ae8ab9ddc49..6058aa9e63278e4ae7400c6f8b91540718821d17:/examples/date_arithmetic.lua?ds=sidebyside diff --git a/examples/date_arithmetic.lua b/examples/date_arithmetic.lua index 3b1126d..d5bd92b 100644 --- a/examples/date_arithmetic.lua +++ b/examples/date_arithmetic.lua @@ -2,7 +2,7 @@ local luatz = require "luatz" -- We do this a few times ==> Convert a timestamp to timetable and normalise local function ts2tt ( ts ) - return luatz.timetable.new_from_timestamp ( ts ):normalise ( ) + return luatz.timetable.new_from_timestamp ( ts ) end -- Get the current time in UTC