lua-users home
lua-l archive

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


2012/3/19 liam mail <[email protected]>:
> 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 - [email protected]
OpenPGP pubkey 0x0041A1FB @ http://pgp.mit.edu