Quantcast
Download
(18 Kb)
Download
Updated: 04/18/21 03:09 PM
Compatibility:
Flames of Ambition (6.3.5)
Updated:04/18/21 03:09 PM
Created:02/14/20 12:53 PM
Monthly downloads:2,541
Total downloads:54,045
Favorites:51
MD5:
LibClockTST  Popular! (More than 5000 hits)
Version: 1.0.0
by: Tyx, Phinix
LibClock
Tamriel Standard Time
by @Tyx


This is a new library that allows you to subscribe to in-game time, date, and moon phase updates, or get the current time, date, or moon phase directly. You can also retrieve the data for a specific date.

The library is a product of my recent efforts to update my addon Clock - Tamriel Standard Time. I had to completely rewrite it, it hasn't aged very well, and separated the logic from the UI. This is the logical part.


Feel free to create your own user interface based on this library without worrying about the mathematics of calculating time, date and moon phase. Or download the new UI part of Clock - Tamriel Standard Time.


If you like, you can try it out and leave me a feedback in the comments or at GitHub. Especially, if you found a bug.
Version 1.0.0:
- Initial release.
- API bump for Flames of Ambition without version change (Phinix)
- Changed addon Minor version to 1 and changed ## AddOnVersion to 1 in the manifest to match. (Thanks for the heads-up Baertram!)
Optional Files (0)


Archived Files (2)
File Name
Version
Size
Uploader
Date
1.0.0
19kB
Tyx
02/21/20 07:13 AM
1.0.0-beta1
18kB
02/14/20 12:53 PM


Post A Reply Comment Options
Unread 05/29/21, 09:55 AM  
SimonIllyan
 
SimonIllyan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 172
Uploads: 1
I am preparing to use LibClockTST in The Elder Bar Reloaded, and I noticed something glaringly missing from this otherwise great library: a function to convert month number to name (preferably both Imperial and Argonian). Of course, I have implemented it myself, but it would be nice if LibClockTST provided it. Even better, if :GetTime() and :GetDate methods optionally took two arguments, like os.date does:
Code:
MyLibClockInstance:GetDate("%d %B %Y", some_timestamp)
I believe you already have code for this, but in ClockTST rather than in LibClockTST.
Report comment to moderator  
Reply With Quote
Unread 04/18/21, 03:16 PM  
Phinix
 
Phinix's Avatar
AddOn Author - Click to view AddOns

Forum posts: 161
File comments: 1302
Uploads: 30
Originally Posted by Baertram
...the tag
Code:
## AddOnVersion: <integer>
is essential if you use ## IsLibrary: true to let the ingame addon manager determine the "newest" version of the addon/library.
You shouldn't use a number 0 here but same/similar to the non-official ## Version tag! ## Version is currently ONLY used within Minion, the external addon manager. It's not used ingame by ESO.
Updated without version change. Made the above correction beginning version incrementation at 1 (should probably also be noted that ## AddOnVersion must be a whole number, so no decimal values), and updated the library Minor version to match.

Thanks for the heads-up! To be honest, I have been using this library with ClockTST with "allow out of date" and encountered no problems. The changes I made to the main addon since coming onboard have been essentially cosmetic, so I hadn't really needed to dig into this part, other than to confirm everything appears to be working as far as time constants syncing up to the lunar cycle observable in-game.

So, it will work with the addon version at 0, if you check allow outdated, which I heard might be going away(?). However, there may be an issue where it will still show out of date even if ##APIVersion is current, but I haven't tested it.
__________________
My Addons: ESO Master Recipe List - SALTI - LootDrop Reborn - Dungeon Tracker - EZReport - Chat Window Manager - Poison Master - Vampire's Woe ... (more)
Also co-author for: Azurah - Srendarr - Show Motifs

PC NA @IllusoryID
Last edited by Phinix : 04/18/21 at 03:17 PM.
Report comment to moderator  
Reply With Quote
Unread 04/18/21, 01:32 PM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3599
File comments: 4421
Uploads: 68
Thanks for the library, but the tag
Code:
## AddOnVersion: <integer>
is essential if you use ## IsLibrary: true to let the ingame addon manager determine the "newest" version of the addon/library.
You shouldn't use a number 0 here but same/similar to the non-official ## Version tag! ## Version is currently ONLY used within Minion, the external addon manager. It's not used ingame by ESO. Therefor ## AddOnVersion is to be used.

I'm not sure if the ingame addon manager will detect 0 as a valid version, and if you got a version > 0 the same time would count as newer then.
I hope so
Last edited by Baertram : 04/18/21 at 01:34 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.