]> git.madduck.net Git - etc/awesome.git/blobdiff - doc/index.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:

luatz/tzfile: Use string.unpack when available (Lua 5.3+)
[etc/awesome.git] / doc / index.md
index 85cf5ab9fa2c2429999f0cf303db102e76613bd6..e0ece6af8fe8592e50e65b5263c2ad14c72c853e 100644 (file)
@@ -13,6 +13,11 @@ The table includes the following sub modules, which have their own documentation
 Returns the current unix timestamp using the most precise source available.
 See `gettime` for more information.
 
 Returns the current unix timestamp using the most precise source available.
 See `gettime` for more information.
 
+### `now ( )`
+
+Returns the current time as a timetable object
+See `timetable` for more information
+
 
 ### `get_tz ( [timezone_name] )`
 
 
 ### `get_tz ( [timezone_name] )`
 
@@ -29,3 +34,13 @@ Check [wikipedia](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones)
 
 Returns the current time in seconds since 1970-01-01 0:00:00 in the given timezone as a string,
 (same semantics as `get_tz`) at the given UTC time (defaults to now).
 
 Returns the current time in seconds since 1970-01-01 0:00:00 in the given timezone as a string,
 (same semantics as `get_tz`) at the given UTC time (defaults to now).
+
+
+## As in the C standard library
+
+### `gmtime ( ts )`
+
+### `localtime ( ts )`
+
+### `ctime ( ts )`
+