aboutsummaryrefslogtreecommitdiffstats
path: root/util/datetime.lua
Commit message (Collapse)AuthorAgeFilesLines
* util.datetime: Make sure timezone difference is calculated correctly (fixes ↵Kim Alvefur2018-12-091-1/+2
| | | | | | | #1262) If the two os.date() calls happen at either side of a second ticking over there would be a one second error in the calculation.
* vairious: Add annotation when an empty environment is set [luacheck]Kim Alvefur2018-02-281-0/+1
|
* net.websocket.frames, util.datetime, util.json, util.prosodyctl, ↵Matthew Wild2016-03-101-1/+0
| | | | util.rfc6724: Remove unused variables [luacheck]
* util.*: Remove use of module() function, make all module functions local and ↵Kim Alvefur2015-02-211-7/+13
| | | | return them in a table at the end
* Remove all trailing whitespaceFlorian Zeitz2013-08-091-1/+1
|
* util.datetime: Fix timestamp parsing pattern.Waqas Hussain2012-08-281-1/+1
|
* util.datetime: Fix timestamp parsing when in DST (thanks xnyhps)Matthew Wild2011-04-151-1/+1
|
* util.datetime: Fix so that the timestamp returned is always in UTC, timezone ↵Matthew Wild2010-11-271-1/+1
| | | | offsets were going in the wrong direction
* util.datetime: Fixes for more liberal timezone parsing - colon and minutes ↵Matthew Wild2010-11-271-1/+2
| | | | are both (independantly) optional (thanks Zash)
* util.datetime: Added implementation for function parse().Waqas Hussain2010-08-021-1/+20
|
* Update copyright headers for 2010Matthew Wild2010-03-221-2/+2
|
* Remove version number from copyright headersMatthew Wild2009-07-101-1/+1
|
* util.datetime: Allow specifying a time to formatMatthew Wild2009-03-291-28/+28
|
* 0.3->0.4Matthew Wild2009-03-201-1/+1
|
* Update copyright notices for 2009Matthew Wild2009-01-301-2/+2
|
* 0.2->0.3Matthew Wild2009-01-301-1/+1
|
* GPL->MIT!Matthew Wild2009-01-301-13/+2
|
* 0.1 -> 0.2Matthew Wild2008-12-101-1/+1
|
* Insert copyright/license headersMatthew Wild2008-12-031-0/+20
|
* Added util.datetime: Utility methods to support XEP-0082: XMPP Date and Time ↵Waqas Hussain2008-11-131-0/+28
Profiles