Thread Tools Display Modes
03/14/23, 12:19 AM   #1
Toirealach
AddOn Author - Click to view addons
Join Date: Sep 2020
Posts: 18
TimeUntilReset() is now wrong

TimeUntilReset() is now wrong. It reports the old reset time, not the new one for this patch.
  Reply With Quote
03/14/23, 12:41 AM   #2
Masteroshi430
 
Masteroshi430's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2020
Posts: 185
Originally Posted by Toirealach View Post
TimeUntilReset() is now wrong. It reports the old reset time, not the new one for this patch.
AFAIK there is no TimeUntilReset() in the API
  Reply With Quote
03/14/23, 04:58 AM   #3
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,912
No, it's a custom function.
You can search your live/AddOns folder for that string, via windows search (including searching file contents) or using a free tool like Notepad++, search, in files & folders

I wasn't able to find that function in any of my addons and libraries, and I got a lot :-)
  Reply With Quote
03/14/23, 03:17 PM   #4
Toirealach
AddOn Author - Click to view addons
Join Date: Sep 2020
Posts: 18
Huh...yeah...

Huh...yeah...it is a library function from an addon, who knew?

Lemme muck with it.
  Reply With Quote
03/14/23, 04:16 PM   #5
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,912
Which library is it, LibDateTime or similar?
  Reply With Quote
03/14/23, 09:37 PM   #6
code65536
AddOn Author - Click to view addons
Join Date: Mar 2016
Posts: 21
For the new reset times, I now use
Code:
GetTimeUntilNextDailyLoginRewardClaimS() -- seconds
For daily reset times.


...and
Code:
TIMED_ACTIVITIES_MANAGER:GetTimedActivityTypeTimeRemainingSeconds(TIMED_ACTIVITY_TYPE_WEEKLY)
For weekly reset times.
  Reply With Quote

ESOUI » Developer Discussions » General Authoring Discussion » TimeUntilReset() is now wrong

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off