Commit Graph

22 Commits (master)

Author SHA1 Message Date
Kim Alvefur 68867c09d6 util.datetime: Remove a line 3 years ago
Kim Alvefur c85c18b03a util.datetime: Add support for sub-second precision timestamps 3 years ago
Kim Alvefur 968eaf41a8 util.datetime: Make sure timezone difference is calculated correctly (fixes #1262) 7 years ago
Kim Alvefur 43b814a83b vairious: Add annotation when an empty environment is set [luacheck] 8 years ago
Matthew Wild 8967760df5 net.websocket.frames, util.datetime, util.json, util.prosodyctl, util.rfc6724: Remove unused variables [luacheck] 10 years ago
Kim Alvefur eaa823a597 util.*: Remove use of module() function, make all module functions local and return them in a table at the end 11 years ago
Florian Zeitz 1d833bb807 Remove all trailing whitespace 13 years ago
Waqas Hussain f79f756a44 util.datetime: Fix timestamp parsing pattern. 14 years ago
Matthew Wild 0f81719d60 util.datetime: Fix timestamp parsing when in DST (thanks xnyhps) 15 years ago
Matthew Wild 4ff48cecfd util.datetime: Fix timestamp parsing when in DST (thanks xnyhps) 15 years ago
Matthew Wild dd86939ca2 util.datetime: Fix so that the timestamp returned is always in UTC, timezone offsets were going in the wrong direction 15 years ago
Matthew Wild 85d3f7707e util.datetime: Fixes for more liberal timezone parsing - colon and minutes are both (independantly) optional (thanks Zash) 15 years ago
Waqas Hussain d6cf6f6004 util.datetime: Added implementation for function parse(). 16 years ago
Matthew Wild 2bc0606453 Update copyright headers for 2010 16 years ago
Matthew Wild 118883d655 Remove version number from copyright headers 17 years ago
Matthew Wild 5ce49a3b6c util.datetime: Allow specifying a time to format 17 years ago
Matthew Wild c80f91dc02 0.3->0.4 17 years ago
Matthew Wild c5ee166aa9 Update copyright notices for 2009 17 years ago
Matthew Wild f2d020191f 0.2->0.3 17 years ago
Matthew Wild bf3b96204d GPL->MIT! 17 years ago
Matthew Wild d3ad4a5123 0.1 -> 0.2 17 years ago
Matthew Wild 0c5cc83112 Insert copyright/license headers 17 years ago
Waqas Hussain 5358129300 Added util.datetime: Utility methods to support XEP-0082: XMPP Date and Time Profiles 17 years ago