]> git.madduck.net Git - etc/awesome.git/blobdiff - doc/tzinfo.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/tzfile_spec: Add a test to open a tz version 3 file
[etc/awesome.git] / doc / tzinfo.md
index 78d04530bf722e9acd7cf187757a9f52060e8121..8f95b5d46e886e5a0448d95c558d708cab9be7d7 100644 (file)
@@ -26,18 +26,18 @@ and contains the following fields:
   - `isgmt` (boolean)
 
 
-## `:find_current ( utc_ts )`
+### `:find_current ( utc_ts )`
 
 Returns the relevant `tt_info` object for the given UTC timestamp in the timezone.
 
 
-## `:localise ( utc_ts )` and `:localize ( utc_ts )`
+### `:localise ( utc_ts )` and `:localize ( utc_ts )`
 
 Convert the given UTC timestamp to the timezone.
 Returns the number of seconds since unix epoch in the given timezone.
 
 
-## `:utctime ( local_ts )`
+### `:utctime ( local_ts )`
 
 Convert the given local timestamp (seconds since unix epoch in the time zone) to a UTC timestamp.
 This may result in ambigous results, in which case multiple values are returned.