lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


2012/3/19 liam mail <liam.list@googlemail.com>:
> strptime[1] or maybe another implementation such as [2] which is BSD

Which are part of posix and luaposix. So we have all the infrastructure, yet
not the datejs' "syntactic sugar" -- with scare quotes because I see no way
    Date.parse('19-Mar-2012').is().monday()
is more readable than an hypotetical
   date.parse("19-Mar-2012").weekday == date.MONDAY



-- 
Alexandre Erwin Ittner - alexandre@ittner.com.br
OpenPGP pubkey 0x0041A1FB @ http://pgp.mit.edu