1 -- XEP-0082: XMPP Date and Time Profiles
\r
3 local os_date = os.date;
\r
9 return os_date("!%Y-%m-%d");
\r
13 return os_date("!%Y-%m-%dT%H:%M:%SZ");
\r
17 return os_date("!%H:%M:%S");
\r
21 return os_date("!%Y%m%dT%H:%M:%S");
\r
25 error("datetime.parse: Not implemented"); -- TODO
\r