mirror of
https://github.com/TangentFoxy/lua-date.git
synced 2025-07-28 11:02:17 +00:00
updated version info to 2.1
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
LuaDate v2
|
LuaDate v2.1
|
||||||
|
|
||||||
Lua Date and Time module for Lua 5.x.
|
Lua Date and Time module for Lua 5.x.
|
||||||
|
|
||||||
@@ -9,4 +9,8 @@ Features:
|
|||||||
* Support ISO 8601 Dates.
|
* Support ISO 8601 Dates.
|
||||||
* Local time support.
|
* Local time support.
|
||||||
* Lua module (not binary).
|
* Lua module (not binary).
|
||||||
* Formats Date and Time like strftime.
|
* 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
|
@@ -1,5 +1,5 @@
|
|||||||
package = "date"
|
package = "date"
|
||||||
version = "2.0.1-1"
|
version = "2.1.0-1"
|
||||||
|
|
||||||
description = {
|
description = {
|
||||||
summary = "Date & Time module for Lua 5.x",
|
summary = "Date & Time module for Lua 5.x",
|
||||||
@@ -9,16 +9,16 @@ description = {
|
|||||||
ISO 8601 Dates, local time support, strftime-like formatting.
|
ISO 8601 Dates, local time support, strftime-like formatting.
|
||||||
]],
|
]],
|
||||||
license = "Public Domain",
|
license = "Public Domain",
|
||||||
homepage = "http://luaforge.net/projects/date/",
|
homepage = "https://github.com/Tieske/date",
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies = {
|
dependencies = {
|
||||||
"lua ~> 5.1"
|
"lua ~> 5.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
source = {
|
source = {
|
||||||
url = "http://luaforge.net/frs/download.php/1708/date.zip",
|
url = "https://github.com/Tieske/uuid/archive/version_2.1.tar.gz",
|
||||||
dir = ".",
|
dir = "date-version_2.1",
|
||||||
}
|
}
|
||||||
|
|
||||||
build = {
|
build = {
|
||||||
|
4
date.lua
4
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)
|
Copyright (C) 2006, by Jas Latrix (jastejada@yahoo.com)
|
||||||
All Rights Deserved.
|
All Rights Deserved.
|
||||||
@@ -201,7 +201,7 @@
|
|||||||
local date = {}
|
local date = {}
|
||||||
setmetatable(date, date)
|
setmetatable(date, date)
|
||||||
-- Version: VMMMRRRR; V-Major, M-Minor, R-Revision; e.g. 5.45.321 == 50450321
|
-- 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
|
--#end -- not DATE_OBJECT_AFX
|
||||||
--[[ THE DATE OBJECT ]]--
|
--[[ THE DATE OBJECT ]]--
|
||||||
local dobj = {}
|
local dobj = {}
|
||||||
|
Reference in New Issue
Block a user