]> git.madduck.net Git - etc/awesome.git/blobdiff - doc/timetable.md

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

spec/timetable_spec: more tests
[etc/awesome.git] / doc / timetable.md
index 7a7706a4444bce07a8132415779bc53d7d4afb22..86ce2b2dba0192699186e404ac37a8a7aabfbc32 100644 (file)
@@ -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`