From: daurnimator Date: Sun, 24 Nov 2013 09:28:12 +0000 (-0500) Subject: doc/timetable: Document unpack method X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/cce108c5533a9c7386949a4fd008b73638247177 doc/timetable: Document unpack method --- diff --git a/doc/timetable.md b/doc/timetable.md index 7a7706a..86ce2b2 100644 --- a/doc/timetable.md +++ b/doc/timetable.md @@ -58,3 +58,8 @@ The ranges of components are not checked, and if you want a valid timestamp, `:n Returns the timetable as the number of seconds since unix epoch (1970-01-01) as a lua number. + + +## `:unpack ( )` + +Unpacks the timetable object; returns `year`, `month`, `day`, `hour`, `min`, `sec`, `yday`, `wday`