From bc8d45a7eb491bc3e2750b631f57d717ca68ca2e Mon Sep 17 00:00:00 2001 From: Parnic Date: Fri, 27 May 2016 00:12:39 -0500 Subject: [PATCH] Maybe file-date-integer will work --- Categories/Auras.lua | 2 +- Categories/Cast.lua | 2 +- Categories/Characteristics.lua | 2 +- Categories/DruidMana.lua | 2 +- Categories/Experience.lua | 2 +- Categories/GuildNote.lua | 2 +- Categories/Health.lua | 2 +- Categories/Misc.lua | 2 +- Categories/Power.lua | 2 +- Categories/Range.lua | 2 +- Categories/Reputation.lua | 2 +- Categories/Status.lua | 2 +- Categories/Talent.lua | 2 +- Categories/Threat.lua | 2 +- Categories/TooltipScanning.lua | 2 +- Cleanup.lua | 2 +- LibDogTag-Unit-3.0.lua | 2 +- Localization/enUS.lua | 2 +- Localization/frFR.lua | 2 +- Localization/koKR.lua | 2 +- Localization/ruRU.lua | 2 +- Localization/zhCN.lua | 2 +- Localization/zhTW.lua | 2 +- 23 files changed, 23 insertions(+), 23 deletions(-) diff --git a/Categories/Auras.lua b/Categories/Auras.lua index 94cfe69..61506cb 100644 --- a/Categories/Auras.lua +++ b/Categories/Auras.lua @@ -1,5 +1,5 @@ local MAJOR_VERSION = "LibDogTag-Unit-3.0" -local MINOR_VERSION = 90000 + (tonumber(("@project-timestamp@"):match("%d+")) or 2147000000) +local MINOR_VERSION = 90000 + (tonumber(("@file-date-integer@"):match("%d+")) or 2147000000) if MINOR_VERSION > _G.DogTag_Unit_MINOR_VERSION then _G.DogTag_Unit_MINOR_VERSION = MINOR_VERSION diff --git a/Categories/Cast.lua b/Categories/Cast.lua index ed84b27..84a5689 100644 --- a/Categories/Cast.lua +++ b/Categories/Cast.lua @@ -1,5 +1,5 @@ local MAJOR_VERSION = "LibDogTag-Unit-3.0" -local MINOR_VERSION = 90000 + (tonumber(("@project-timestamp@"):match("%d+")) or 2147000000) +local MINOR_VERSION = 90000 + (tonumber(("@file-date-integer@"):match("%d+")) or 2147000000) if MINOR_VERSION > _G.DogTag_Unit_MINOR_VERSION then _G.DogTag_Unit_MINOR_VERSION = MINOR_VERSION diff --git a/Categories/Characteristics.lua b/Categories/Characteristics.lua index 697abd2..cd2bbb4 100644 --- a/Categories/Characteristics.lua +++ b/Categories/Characteristics.lua @@ -1,5 +1,5 @@ local MAJOR_VERSION = "LibDogTag-3.0" -local MINOR_VERSION = 90000 + (tonumber(("@project-timestamp@"):match("%d+")) or 2147000000) +local MINOR_VERSION = 90000 + (tonumber(("@file-date-integer@"):match("%d+")) or 2147000000) if MINOR_VERSION > _G.DogTag_Unit_MINOR_VERSION then _G.DogTag_Unit_MINOR_VERSION = MINOR_VERSION diff --git a/Categories/DruidMana.lua b/Categories/DruidMana.lua index 848ba70..862c0f7 100644 --- a/Categories/DruidMana.lua +++ b/Categories/DruidMana.lua @@ -1,5 +1,5 @@ local MAJOR_VERSION = "LibDogTag-Unit-3.0" -local MINOR_VERSION = 90000 + (tonumber(("@project-timestamp@"):match("%d+")) or 2147000000) +local MINOR_VERSION = 90000 + (tonumber(("@file-date-integer@"):match("%d+")) or 2147000000) if MINOR_VERSION > _G.DogTag_Unit_MINOR_VERSION then _G.DogTag_Unit_MINOR_VERSION = MINOR_VERSION diff --git a/Categories/Experience.lua b/Categories/Experience.lua index 94dafa0..78100a5 100644 --- a/Categories/Experience.lua +++ b/Categories/Experience.lua @@ -1,5 +1,5 @@ local MAJOR_VERSION = "LibDogTag-Unit-3.0" -local MINOR_VERSION = 90000 + (tonumber(("@project-timestamp@"):match("%d+")) or 2147000000) +local MINOR_VERSION = 90000 + (tonumber(("@file-date-integer@"):match("%d+")) or 2147000000) if MINOR_VERSION > _G.DogTag_Unit_MINOR_VERSION then _G.DogTag_Unit_MINOR_VERSION = MINOR_VERSION diff --git a/Categories/GuildNote.lua b/Categories/GuildNote.lua index 02ad9ae..9b7885c 100644 --- a/Categories/GuildNote.lua +++ b/Categories/GuildNote.lua @@ -1,5 +1,5 @@ local MAJOR_VERSION = "LibDogTag-Unit-3.0" -local MINOR_VERSION = 90000 + (tonumber(("@project-timestamp@"):match("%d+")) or 2147000000) +local MINOR_VERSION = 90000 + (tonumber(("@file-date-integer@"):match("%d+")) or 2147000000) if MINOR_VERSION > _G.DogTag_Unit_MINOR_VERSION then _G.DogTag_Unit_MINOR_VERSION = MINOR_VERSION diff --git a/Categories/Health.lua b/Categories/Health.lua index a247f1e..b15c057 100644 --- a/Categories/Health.lua +++ b/Categories/Health.lua @@ -1,5 +1,5 @@ local MAJOR_VERSION = "LibDogTag-Unit-3.0" -local MINOR_VERSION = 90000 + (tonumber(("@project-timestamp@"):match("%d+")) or 2147000000) +local MINOR_VERSION = 90000 + (tonumber(("@file-date-integer@"):match("%d+")) or 2147000000) if MINOR_VERSION > _G.DogTag_Unit_MINOR_VERSION then _G.DogTag_Unit_MINOR_VERSION = MINOR_VERSION diff --git a/Categories/Misc.lua b/Categories/Misc.lua index ab5fdd2..c900584 100644 --- a/Categories/Misc.lua +++ b/Categories/Misc.lua @@ -1,5 +1,5 @@ local MAJOR_VERSION = "LibDogTag-Unit-3.0" -local MINOR_VERSION = 90000 + (tonumber(("@project-timestamp@"):match("%d+")) or 2147000000) +local MINOR_VERSION = 90000 + (tonumber(("@file-date-integer@"):match("%d+")) or 2147000000) if MINOR_VERSION > _G.DogTag_Unit_MINOR_VERSION then _G.DogTag_Unit_MINOR_VERSION = MINOR_VERSION diff --git a/Categories/Power.lua b/Categories/Power.lua index 488965a..94055f1 100644 --- a/Categories/Power.lua +++ b/Categories/Power.lua @@ -1,5 +1,5 @@ local MAJOR_VERSION = "LibDogTag-Unit-3.0" -local MINOR_VERSION = 90000 + (tonumber(("@project-timestamp@"):match("%d+")) or 2147000000) +local MINOR_VERSION = 90000 + (tonumber(("@file-date-integer@"):match("%d+")) or 2147000000) if MINOR_VERSION > _G.DogTag_Unit_MINOR_VERSION then _G.DogTag_Unit_MINOR_VERSION = MINOR_VERSION diff --git a/Categories/Range.lua b/Categories/Range.lua index 35b717f..6f452a1 100644 --- a/Categories/Range.lua +++ b/Categories/Range.lua @@ -1,5 +1,5 @@ local MAJOR_VERSION = "LibDogTag-Unit-3.0" -local MINOR_VERSION = 90000 + (tonumber(("@project-timestamp@"):match("%d+")) or 2147000000) +local MINOR_VERSION = 90000 + (tonumber(("@file-date-integer@"):match("%d+")) or 2147000000) if MINOR_VERSION > _G.DogTag_Unit_MINOR_VERSION then _G.DogTag_Unit_MINOR_VERSION = MINOR_VERSION diff --git a/Categories/Reputation.lua b/Categories/Reputation.lua index 3fb49ec..778f827 100644 --- a/Categories/Reputation.lua +++ b/Categories/Reputation.lua @@ -1,5 +1,5 @@ local MAJOR_VERSION = "LibDogTag-Unit-3.0" -local MINOR_VERSION = 90000 + (tonumber(("@project-timestamp@"):match("%d+")) or 2147000000) +local MINOR_VERSION = 90000 + (tonumber(("@file-date-integer@"):match("%d+")) or 2147000000) if MINOR_VERSION > _G.DogTag_Unit_MINOR_VERSION then _G.DogTag_Unit_MINOR_VERSION = MINOR_VERSION diff --git a/Categories/Status.lua b/Categories/Status.lua index 72c31fe..bdced88 100644 --- a/Categories/Status.lua +++ b/Categories/Status.lua @@ -1,5 +1,5 @@ local MAJOR_VERSION = "LibDogTag-Unit-3.0" -local MINOR_VERSION = 90000 + (tonumber(("@project-timestamp@"):match("%d+")) or 2147000000) +local MINOR_VERSION = 90000 + (tonumber(("@file-date-integer@"):match("%d+")) or 2147000000) if MINOR_VERSION > _G.DogTag_Unit_MINOR_VERSION then _G.DogTag_Unit_MINOR_VERSION = MINOR_VERSION diff --git a/Categories/Talent.lua b/Categories/Talent.lua index 9bef3bb..249a8cb 100644 --- a/Categories/Talent.lua +++ b/Categories/Talent.lua @@ -1,5 +1,5 @@ local MAJOR_VERSION = "LibDogTag-Unit-3.0" -local MINOR_VERSION = 90000 + (tonumber(("@project-timestamp@"):match("%d+")) or 2147000000) +local MINOR_VERSION = 90000 + (tonumber(("@file-date-integer@"):match("%d+")) or 2147000000) if MINOR_VERSION > _G.DogTag_Unit_MINOR_VERSION then _G.DogTag_Unit_MINOR_VERSION = MINOR_VERSION diff --git a/Categories/Threat.lua b/Categories/Threat.lua index a1655b1..c0664f6 100644 --- a/Categories/Threat.lua +++ b/Categories/Threat.lua @@ -1,5 +1,5 @@ local MAJOR_VERSION = "LibDogTag-Unit-3.0" -local MINOR_VERSION = 90000 + (tonumber(("@project-timestamp@"):match("%d+")) or 2147000000) +local MINOR_VERSION = 90000 + (tonumber(("@file-date-integer@"):match("%d+")) or 2147000000) if MINOR_VERSION > _G.DogTag_Unit_MINOR_VERSION then _G.DogTag_Unit_MINOR_VERSION = MINOR_VERSION diff --git a/Categories/TooltipScanning.lua b/Categories/TooltipScanning.lua index 0ccbba8..ff24809 100644 --- a/Categories/TooltipScanning.lua +++ b/Categories/TooltipScanning.lua @@ -1,5 +1,5 @@ local MAJOR_VERSION = "LibDogTag-Unit-3.0" -local MINOR_VERSION = 90000 + (tonumber(("@project-timestamp@"):match("%d+")) or 2147000000) +local MINOR_VERSION = 90000 + (tonumber(("@file-date-integer@"):match("%d+")) or 2147000000) if MINOR_VERSION > _G.DogTag_Unit_MINOR_VERSION then _G.DogTag_Unit_MINOR_VERSION = MINOR_VERSION diff --git a/Cleanup.lua b/Cleanup.lua index 790a226..90395a0 100644 --- a/Cleanup.lua +++ b/Cleanup.lua @@ -1,6 +1,6 @@ local DOGTAG_MAJOR_VERSION = "LibDogTag-3.0" local MAJOR_VERSION = "LibDogTag-Unit-3.0" -local MINOR_VERSION = 90000 + (tonumber(("@project-timestamp@"):match("%d+")) or 2147000000) +local MINOR_VERSION = 90000 + (tonumber(("@file-date-integer@"):match("%d+")) or 2147000000) if MINOR_VERSION > _G.DogTag_Unit_MINOR_VERSION then _G.DogTag_Unit_MINOR_VERSION = MINOR_VERSION diff --git a/LibDogTag-Unit-3.0.lua b/LibDogTag-Unit-3.0.lua index 255d8c2..9919ead 100644 --- a/LibDogTag-Unit-3.0.lua +++ b/LibDogTag-Unit-3.0.lua @@ -7,7 +7,7 @@ Description: A library to provide a markup syntax ]] local MAJOR_VERSION = "LibDogTag-Unit-3.0" -local MINOR_VERSION = 90000 + (tonumber(("@project-timestamp@"):match("%d+")) or 2147000000) +local MINOR_VERSION = 90000 + (tonumber(("@file-date-integer@"):match("%d+")) or 2147000000) if MINOR_VERSION > _G.DogTag_Unit_MINOR_VERSION then _G.DogTag_Unit_MINOR_VERSION = MINOR_VERSION diff --git a/Localization/enUS.lua b/Localization/enUS.lua index eb6088a..559f8ab 100644 --- a/Localization/enUS.lua +++ b/Localization/enUS.lua @@ -1,5 +1,5 @@ local MAJOR_VERSION = "LibDogTag-Unit-3.0" -local MINOR_VERSION = 90000 + (tonumber(("@project-timestamp@"):match("%d+")) or 2147000000) +local MINOR_VERSION = 90000 + (tonumber(("@file-date-integer@"):match("%d+")) or 2147000000) _G.DogTag_Unit_MINOR_VERSION = MINOR_VERSION diff --git a/Localization/frFR.lua b/Localization/frFR.lua index 495be2e..fb3377d 100644 --- a/Localization/frFR.lua +++ b/Localization/frFR.lua @@ -1,5 +1,5 @@ local MAJOR_VERSION = "LibDogTag-Unit-3.0" -local MINOR_VERSION = 90000 + (tonumber(("@project-timestamp@"):match("%d+")) or 2147000000) +local MINOR_VERSION = 90000 + (tonumber(("@file-date-integer@"):match("%d+")) or 2147000000) if MINOR_VERSION > _G.DogTag_Unit_MINOR_VERSION then _G.DogTag_Unit_MINOR_VERSION = MINOR_VERSION diff --git a/Localization/koKR.lua b/Localization/koKR.lua index 59a00c1..81d6a90 100644 --- a/Localization/koKR.lua +++ b/Localization/koKR.lua @@ -1,5 +1,5 @@ local MAJOR_VERSION = "LibDogTag-Unit-3.0" -local MINOR_VERSION = 90000 + (tonumber(("@project-timestamp@"):match("%d+")) or 2147000000) +local MINOR_VERSION = 90000 + (tonumber(("@file-date-integer@"):match("%d+")) or 2147000000) if MINOR_VERSION > _G.DogTag_Unit_MINOR_VERSION then _G.DogTag_Unit_MINOR_VERSION = MINOR_VERSION diff --git a/Localization/ruRU.lua b/Localization/ruRU.lua index 4a38bfe..79f4dcb 100644 --- a/Localization/ruRU.lua +++ b/Localization/ruRU.lua @@ -1,5 +1,5 @@ local MAJOR_VERSION = "LibDogTag-Unit-3.0" -local MINOR_VERSION = 90000 + (tonumber(("@project-timestamp@"):match("%d+")) or 2147000000) +local MINOR_VERSION = 90000 + (tonumber(("@file-date-integer@"):match("%d+")) or 2147000000) if MINOR_VERSION > _G.DogTag_Unit_MINOR_VERSION then _G.DogTag_Unit_MINOR_VERSION = MINOR_VERSION diff --git a/Localization/zhCN.lua b/Localization/zhCN.lua index b67070c..80f3f99 100644 --- a/Localization/zhCN.lua +++ b/Localization/zhCN.lua @@ -1,5 +1,5 @@ local MAJOR_VERSION = "LibDogTag-Unit-3.0" -local MINOR_VERSION = 90000 + (tonumber(("@project-timestamp@"):match("%d+")) or 2147000000) +local MINOR_VERSION = 90000 + (tonumber(("@file-date-integer@"):match("%d+")) or 2147000000) if MINOR_VERSION > _G.DogTag_Unit_MINOR_VERSION then _G.DogTag_Unit_MINOR_VERSION = MINOR_VERSION diff --git a/Localization/zhTW.lua b/Localization/zhTW.lua index 1a0816d..3ffa2f6 100644 --- a/Localization/zhTW.lua +++ b/Localization/zhTW.lua @@ -1,5 +1,5 @@ local MAJOR_VERSION = "LibDogTag-Unit-3.0" -local MINOR_VERSION = 90000 + (tonumber(("@project-timestamp@"):match("%d+")) or 2147000000) +local MINOR_VERSION = 90000 + (tonumber(("@file-date-integer@"):match("%d+")) or 2147000000) if MINOR_VERSION > _G.DogTag_Unit_MINOR_VERSION then _G.DogTag_Unit_MINOR_VERSION = MINOR_VERSION