<feed xmlns='http://www.w3.org/2005/Atom'>
<title>posixtz, branch master</title>
<subtitle>Tool and lua module for extracting POSIX TZ variable from tzdata
</subtitle>
<id>https://git-old.alpinelinux.org/posixtz/atom?h=master</id>
<link rel='self' href='https://git-old.alpinelinux.org/posixtz/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/posixtz/'/>
<updated>2018-03-27T17:09:44Z</updated>
<entry>
<title>fix implicit declaration warnings by including string.h and unistd.h</title>
<updated>2018-03-27T17:09:44Z</updated>
<author>
<name>Sören Tempel</name>
<email>soeren+git@soeren-tempel.net</email>
</author>
<published>2018-03-27T17:09:44Z</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/posixtz/commit/?id=89d4aece7ba679703060393ac95086fd514c7fc7'/>
<id>urn:sha1:89d4aece7ba679703060393ac95086fd514c7fc7</id>
<content type='text'>
string.h is needed for strncmp(3) and unistd.h is needed for read(3),
close(3) and lseek(3).
</content>
</entry>
<entry>
<title>posixtz: ensure the file offset we pass to lseek is off_t</title>
<updated>2018-03-27T17:08:26Z</updated>
<author>
<name>William Pitcock</name>
<email>nenolod@dereferenced.org</email>
</author>
<published>2011-04-28T07:56:42Z</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/posixtz/commit/?id=e6765bd363d2dd1dcaeeae5117cc25aae53fb944'/>
<id>urn:sha1:e6765bd363d2dd1dcaeeae5117cc25aae53fb944</id>
<content type='text'>
on 32-bit systems, sizeof(off_t) is 4, on 64-bit sizeof(off_t) is 8
causing a word masking issue.
</content>
</entry>
<entry>
<title>Update posixtz.lua for Lua 5.2 support</title>
<updated>2015-01-19T15:41:16Z</updated>
<author>
<name>Ted Trask</name>
<email>ttrask01@yahoo.com</email>
</author>
<published>2015-01-19T15:41:16Z</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/posixtz/commit/?id=f06b82a6ad1368fe1b2bb67c8b93e79f846dbdd4'/>
<id>urn:sha1:f06b82a6ad1368fe1b2bb67c8b93e79f846dbdd4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>support for Lua 5.2</title>
<updated>2013-10-07T14:43:35Z</updated>
<author>
<name>Natanael Copa</name>
<email>ncopa@alpinelinux.org</email>
</author>
<published>2013-10-07T14:43:35Z</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/posixtz/commit/?id=6b43aa3ad0c4d41ec0f83add4cabc7361b1e327b'/>
<id>urn:sha1:6b43aa3ad0c4d41ec0f83add4cabc7361b1e327b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Modified parse() function to avoid throwing exceptions.</title>
<updated>2011-03-31T12:06:06Z</updated>
<author>
<name>aalatchm</name>
<email>aalatchm@jamailca.com</email>
</author>
<published>2011-03-30T13:41:45Z</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/posixtz/commit/?id=aec67b4e608465017ad67665f8cd1f37ae35d6cc'/>
<id>urn:sha1:aec67b4e608465017ad67665f8cd1f37ae35d6cc</id>
<content type='text'>
Lua 'error()' function was previously used, but this throws exceptions.
If the user does not catch the exceptions, then his code will exit.
This commit replaces the 'error()' function with 'return nil, errtxt', which follows the pattern of many Lua functions, such as 'io.open()'.
The user can then choose to handle the situation in a manner appropriate for his code.
To maintain the previous behavior, the user may call 'assert(posix.parse(...))'.
</content>
</entry>
<entry>
<title>added to Lua example to demonstrate posixtz.parse</title>
<updated>2011-03-22T20:58:54Z</updated>
<author>
<name>aalatchm</name>
<email>aalatchm@jamailca.com</email>
</author>
<published>2011-03-22T18:27:12Z</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/posixtz/commit/?id=7882795d10fc28a696a4784d24fbb2990a5e5707'/>
<id>urn:sha1:7882795d10fc28a696a4784d24fbb2990a5e5707</id>
<content type='text'>
</content>
</entry>
<entry>
<title>some cleanup of posixtz.lua</title>
<updated>2011-03-22T20:58:50Z</updated>
<author>
<name>aalatchm</name>
<email>aalatchm@jamailca.com</email>
</author>
<published>2011-03-22T18:27:11Z</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/posixtz/commit/?id=129ad98fe0e178a1b5c3870074eb28bf1b80ba67'/>
<id>urn:sha1:129ad98fe0e178a1b5c3870074eb28bf1b80ba67</id>
<content type='text'>
Ensure that string library is loaded by explicitly requiring it.
Corrected comments. Added TODO for dealing with leap years.
</content>
</entry>
<entry>
<title>glue from_file function from C module into posixtz.lua</title>
<updated>2011-03-22T20:58:45Z</updated>
<author>
<name>aalatchm</name>
<email>aalatchm@jamailca.com</email>
</author>
<published>2011-03-22T18:27:10Z</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/posixtz/commit/?id=f09479f7052f55c89ca6197daae566b281cc0bc7'/>
<id>urn:sha1:f09479f7052f55c89ca6197daae566b281cc0bc7</id>
<content type='text'>
This allows simply running:
  require("posixtz")
to provide access to functions:
  posixtz.from_file()
  posixtz.parse()
</content>
</entry>
<entry>
<title>renamed Lua C module to posixtz.core</title>
<updated>2011-03-22T20:58:39Z</updated>
<author>
<name>aalatchm</name>
<email>aalatchm@jamailca.com</email>
</author>
<published>2011-03-22T18:27:09Z</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/posixtz/commit/?id=c70a7e8158bd81e1b56603ace0a91248e0c02a92'/>
<id>urn:sha1:c70a7e8158bd81e1b56603ace0a91248e0c02a92</id>
<content type='text'>
This is necessary in order to configure posixtz.lua with additional functions.
</content>
</entry>
<entry>
<title>added posixtz.lua for parse functionality</title>
<updated>2011-03-22T20:56:07Z</updated>
<author>
<name>aalatchm</name>
<email>aalatchm@jamailca.com</email>
</author>
<published>2011-03-22T18:27:08Z</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/posixtz/commit/?id=0c244a4e12eb65cf72972bdf49b93366a174e9b8'/>
<id>urn:sha1:0c244a4e12eb65cf72972bdf49b93366a174e9b8</id>
<content type='text'>
The parse() function takes a POSIX TZ string and returns a table with TZ parameters.
</content>
</entry>
</feed>
