[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: date.js in Lua?
- From: liam mail <liam.list@...>
- Date: Mon, 19 Mar 2012 20:37:04 +0000
On 19 March 2012 20:15, Alexander Gladysh <agladysh@gmail.com> wrote:
> Hi, list!
>
> I'm looking for Lua analogue for this nice JS library:
> http://www.datejs.com/ (bindings to some C library would do)
>
> In particular I'm interested in date.parse() and date.parseExact() methods:
>
> http://code.google.com/p/datejs/wiki/APIDocumentation#parseExact
> http://code.google.com/p/datejs/wiki/APIDocumentation#parse
>
> ...but most other methods look useful too.
>
> Any clues?
>
> Any reusable C libraries for date.parse(), maybe?
>
> Alexander.
>
strptime[1] or maybe another implementation such as [2] which is BSD
[1] http://linux.die.net/man/3/strptime
[2] http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/time/strptime.c?rev=HEAD