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.
|
||||
|
||||
@@ -10,3 +10,7 @@ Features:
|
||||
* Local time support.
|
||||
* Lua module (not binary).
|
||||
* 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"
|
||||
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 = {
|
||||
|
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)
|
||||
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 = {}
|
||||
|
Reference in New Issue
Block a user