TOC Bumped
Alar of Runetotem [07-18-18 - 10:25]
diff --git a/GarrisonCommander-Broker/GarrisonCommander-Broker.toc b/GarrisonCommander-Broker/GarrisonCommander-Broker.toc
index af24c07..9bf2f65 100644
--- a/GarrisonCommander-Broker/GarrisonCommander-Broker.toc
+++ b/GarrisonCommander-Broker/GarrisonCommander-Broker.toc
@@ -1,4 +1,4 @@
-## Interface: 70300
+## Interface: 80000
## Title: GarrisonCommander-Broker
## Notes: Data-Broker for GarrisonCommander
## Notes-itIT: Data-Broker per GarrisonCommander
diff --git a/GarrisonCommander-Broker/ldb.lua b/GarrisonCommander-Broker/ldb.lua
index f258cad..f635f4f 100644
--- a/GarrisonCommander-Broker/ldb.lua
+++ b/GarrisonCommander-Broker/ldb.lua
@@ -192,7 +192,10 @@ end
function addon:CheckDateReset()
local oldToday=today
local reset=GetQuestResetTime()
- local weekday, month, day, year = CalendarGetDate()
+ local t= C_Calendar.GetDate()
+ local day=t.monthDay
+ local year=t.year
+ local month=t.month
if (day <1 or reset<1) then
self:ScheduleTimer("CheckDateReset",1)
return day,reset
@@ -212,14 +215,11 @@ function addon:CheckDateReset()
today=yesterday
end
self:ScheduleTimer("CheckDateReset",60)
---@debug@
- if (false and today~=oldToday) then
- self:Popup(format("o:%s y:%s t:%s r:%s [w:%s m:%s d:%s y:%s] ",oldToday,yesterday,today,reset,CalendarGetDate()))
+ if (today~=oldToday) then
dataobj:Update()
farmobj:Update()
workobj:Update()
end
---@end-debug@
end
function addon:CountMissing()
local tot=0
diff --git a/GarrisonCommander.toc b/GarrisonCommander.toc
index 7b2a55e..62711fd 100644
--- a/GarrisonCommander.toc
+++ b/GarrisonCommander.toc
@@ -1,4 +1,4 @@
-## Interface: 70300
+## Interface: 80000
## Title: GarrisonCommander
## Notes: Sending all follower to missions with just one click and more
## Notes-itIT: Invia tutti i seguaci in missione con un click e molto altro