diff --git a/README.md b/README.md index 32eb9c0..0783f72 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -LuaDate v2 +LuaDate v2.1 Lua Date and Time module for Lua 5.x. @@ -9,4 +9,8 @@ Features: * Support ISO 8601 Dates. * Local time support. * Lua module (not binary). - * Formats Date and Time like strftime. \ No newline at end of file + * Formats Date and Time like strftime. + +Changes: + v2.1 Lua 5.2 support. Global 'date' will no longer be set. + v2.0 original by Jas Latrix \ No newline at end of file diff --git a/date-2.1.0-1.rockspec b/date-2.1.0-1.rockspec index c0a54aa..3afdbf6 100644 --- a/date-2.1.0-1.rockspec +++ b/date-2.1.0-1.rockspec @@ -1,5 +1,5 @@ package = "date" -version = "2.0.1-1" +version = "2.1.0-1" description = { summary = "Date & Time module for Lua 5.x", @@ -9,16 +9,16 @@ description = { ISO 8601 Dates, local time support, strftime-like formatting. ]], license = "Public Domain", - homepage = "http://luaforge.net/projects/date/", + homepage = "https://github.com/Tieske/date", } dependencies = { - "lua ~> 5.1" + "lua ~> 5.2" } source = { - url = "http://luaforge.net/frs/download.php/1708/date.zip", - dir = ".", + url = "https://github.com/Tieske/uuid/archive/version_2.1.tar.gz", + dir = "date-version_2.1", } build = { diff --git a/date.lua b/date.lua index e9f1110..2bfd0b4 100644 --- a/date.lua +++ b/date.lua @@ -1,4 +1,4 @@ ---[[LuaDate version:2.0.1]]------------------------------- +--[[LuaDate version:2.1.0]]------------------------------- --[[------------------------------------------------------ Copyright (C) 2006, by Jas Latrix (jastejada@yahoo.com) All Rights Deserved. @@ -201,7 +201,7 @@ local date = {} setmetatable(date, date) -- Version: VMMMRRRR; V-Major, M-Minor, R-Revision; e.g. 5.45.321 == 50450321 - date.version = 20000000 -- 2.0.0 + date.version = 20010000 -- 2.1.0 --#end -- not DATE_OBJECT_AFX --[[ THE DATE OBJECT ]]-- local dobj = {}