Download
(745 Kb)
Download
Updated: 03/18/23 12:40 PM
Pictures
File Info
Compatibility:
Scribes of Fate (8.3.5)
Updated:03/18/23 12:40 PM
Created:02/20/20 09:11 PM
Monthly downloads:522
Total downloads:48,822
Favorites:149
MD5:
Categories:Graphic UI Mods, Info, Plug-in Bars, RolePlay, UI Media, Miscellaneous
Clock - Tamriel Standard Time  Popular! (More than 5000 hits)
Version: 2.2.7
by: Tyx, Phinix

Clock

Tamriel Standard Time
by @Tyx

Version 2.2


This is a completely rewritten version of Clock - Tamriel Standard Time. It will show you the time and date in Tamriel and in the real world together with the current moon phase in Tamriel, as a pretty and fully customizable interface.





I was recently in the mood to update my old Clock - Tamriel Standard Time addon, but I didn't like the code I wrote six years ago. (Such a long time feels much shorter) Especially the user interface hasn't aged very well. So while I tried to fix a few things, I decided to just rewrite it.
I've split the logic (calculation of time, date and moon phase) into a new Library: LibClockTSTthe UI part in this one.

I decided to upload it as a new addon, because it will break all old settings and is not yet tested by anyone except myself. (I wrote nice unit tests though )
The old Clock will stay as a legacy code, but will not get any further updates from me.


Custom Textures

I created new textures for moons and Clock which are released under GPL-3, as is this entire addon. You are free to use any of my code and textures for your own projects as long as you use the same license and it stays Open Source.





Various Styles

You can adjust the style of the clock completely. Not just chose from some predefined colours and fonts with their sizes, but you are able to chose any RGBA colour, out of 10 fonts with 6 different styles. The size of the moon and the clock is dynamically adjustable by scrolling with the mouse wheel.





Visual Helper

If you hover over the Clock or Moon object, a tooltip will apear giving you further information about the time, date and moon phase. Especially the moon tooltip is quite usful, as it shows you how many days (in Tamriel) and hours (in real time) it will take, until the moon is full again.




Fully Customizable

Clock uses the LibAddonMenu-2.0 to give you a lot of options to customize the Clock to your liking.
For instance, you are now able to just write whatever you want in the Clock label with special variables which will be automatically replaced with their respective value.







Manage Settings In Presets
Change the look and feel to one of the default presets or create your own, to quickly change between various settings.





Modable

I tried to create Clock 2.0 in a way to make it easily possible to create patches and addons for it. For instance, if you want to create your own background texture, you only need Paint.net, create an image with transparent background, save in your patch/mod addon somewhere as an dds image with Linear DX5 format.
Finally, you have to overload the function:
Code:
Clock_TST.CONSTANTS
Don't worry, it is quite simple:

Lua Code:
  1. local const = Clock_TST.CONSTANTS()
  2. table.insert(cons*****nu.time.BACKGROUND, "MyTextureName")
  3.  
  4. local myData = {
  5.   path = "PathToMyFileFolder",
  6.   background = "nameOfMyFile.dds",
  7.   hover = "nameOfMyHoverFile.dds" -- optional
  8. }
  9. const.UI.BACKGROUND["MyTextureName"] = myData
  10.  
  11. Clock_TST.CONSTANTS = function() return const end

Did not test it though




--------------------
---- 2.2.7 ---- ~Phinix
- Updated for Scribes of Fate.
--------------------
---- 2.2.6 ---- ~Phinix
- Modified LibClockTST.GetWeekDay function to derive day-of-week value using unix epoch timestamps as the previous method was off by 1 for December 2021 and probably other dates.
- EDIT: Update without version change for Ascending Tide.
--------------------
---- 2.2.5 ---- ~Phinix
- Fixed double number formatting bug with days.
--------------------
---- 2.2.4 ---- ~Phinix
- Updated API for Waking Flame update.
--------------------
---- 2.2.3 ---- ~Phinix
- Fixed double zero padding display when using custom text string for real time for the floating clock.
- Fixed fake lore mode not returning values for $H, $M, $S, $X, or $p.
- Cleaned up English translation for better descriptive wording, particularly for the custom time string construction feature for the floating clock under Look Options. Also gave a simple example use.
- Tested all symbol modes with text replacement manually, and verified all are returning proper values now.
- Bumped API to support current PTS as well as live (though PTS now automatically loads out of date addons anyway).
--------------------
---- 2.2.2 ---- ~Phinix
- Corrected hour padding not working properly for certain variables (lore hours).
- Corrected real date/time day wrongly showing as the lore equivalent in the popup display.
- Corrected 24 hour time not working as expected in all cases (0 hundred hours becoming 12 even when not set to 12 hour time, etc.).
- Changed behavior so removing all custom character strings from Look Filters would disable showing the floating time display, which was not intuitive as you had to manually toggle it back on to edit the field again.
- Some other minor changes and cleanup.
--------------------
---- 2.2.1 ---- ~Phinix
- Incorporated Phuein's time format fixes (esoui.com/downloads/info2895-Clock-TamrielStandardTimeQuickPatch.html).
- Added options for zero-padding individual time variables (hour, minute, second, day, and month) so you can customize the floating time display more specifically. Before if you chose zero padding (so minutes would read as 12:04 P.M. for example), it would also zero pad all the other values. So, the date would read as 04th instead of 4th, hours would read as 08:14 A.M. instead of 8:14 A.M., and if you wanted to remove these zeroes by disabling zero padding it disabled it for minutes, so you would get things like 12:4 A.M.. Setting this option for individual types avoids these limitations.
- Added option for minimalist am/pm values in the floating time (doesn't effect the tooltip display). This causes for example, 4:12 A.M. to display as 4:12 am, for people who prefer a more minimal display.
- Added a new option to the text edit options for floating time display, %D, which will show the day with the phonetic suffixes "1st, 3rd, 4th," etc., while %d will just show the plain number (1, 3, 4), useful for doing things like 4-4-21.
--------------------
---- 2.2.0 ----
- Added Preset to setting menu
- Added Small preset
- Added Map preset
- Added HideInGroup toggle (thanks for the idea an function @Crunatus)
- Fixed bug where the map hides only after the first opening of the map if set ShowOnMap
- Replaced my own with ZO functions if possible
--------------------
---- 2.1.0 ----
- Added Bindings to togglle visibility time, moon and both
- Added slider to menu to scale the moon
- Added context menu button to moon and time to reset scaling
- Added possiblitiy to set a background colour and hover colour
- Optimized addon loading time
- Reorganized settings menu
- Changed background textures to white
- Changed waning textures to waxing (thanks for reporting @Azmodan)
- Fixed bug that moon background is still visible if moon is not (thanks for reporting @Circuitous)
- Fixed bug of time and moon where they were still interactable even if not visible
- Removed unnecessary text outputs (thanks for reporting @Varana)
--------------------
---- 2.0.1 ----
- Fixed the regional bug, where the real date could not be calculated (thankgs for reporting @Azmodan)
--------------------
---- 2.0.0 ----
- Completely new code base of the interface
- Added custom textures
- Added customizable time and date label
- Added customizable moon
- Added context menu
- Added tooltip
- Added settings menu
- Added fragment controls
- Added dependencies for LibAddonMenu-2.0, LibClockTST, LibFeedback
--------------------
Optional Files (1)
File Name
Version
Size
Author
Date
Type
2.2.1
737kB
01/09/21 04:48 AM
Patch


Archived Files (5)
File Name
Version
Size
Uploader
Date
2.2.6
745kB
Phinix
04/17/22 04:34 AM
2.2.0
745kB
Tyx
03/06/20 04:37 PM
2.1.0
740kB
Tyx
02/24/20 04:41 PM
2.0.1
1MB
Tyx
02/21/20 11:01 AM
2.0.0
1MB
Tyx
02/20/20 09:11 PM


Post A Reply Comment Options
Unread 04/29/21, 11:01 PM  
Phinix
 
Phinix's Avatar
AddOn Author - Click to view AddOns

Forum posts: 186
File comments: 1779
Uploads: 32
Re: 24-hour time.

Display of 24-hour time mode should be fixed now, as well as some other anomalies like the hour showing as 12 even when 12-hour display was not enabled if the current hour was 0. Also fixed some issues with zero padding in certain instances along with some other things (see changelog).

I didn't have time (badum-tsh!) to do extensive testing but from what I can tell this should resolve the issues people were having.
Report comment to moderator  
Reply With Quote
Unread 04/29/21, 05:16 PM  
missbanjo

Forum posts: 0
File comments: 24
Uploads: 0
12 hours off?

I noticed the other day that ClockTST is off. Turned on Tamriel time on InfoPanel and you can see that it's definitely nighttime but showing 12:38 PM on ClockTST.

https://gyazo.com/074ea07bc25ec41eee7fe746adb5ddc9


*** Closed game to shower and logged back in. Fixed itself I guess? ***
Last edited by missbanjo : 04/29/21 at 06:17 PM.
Report comment to moderator  
Reply With Quote
Unread 04/27/21, 01:22 PM  
Sylvermoon

Forum posts: 5
File comments: 33
Uploads: 0
Re: Updates...

Originally Posted by Phinix
Hi all! Just wanted to let everyone know I have come onboard and will be maintaining this project with Tyx moving forward. I have made some preliminary quality of life changes as well as incorporating the time format fixes from Phuein's quick patch:



IMPORTANT NOTE: If you previously installed Phuein's quick patch, you may need to uninstall it and manually install this version again through Minion before you get the latest changes. (Make sure to select this main version and not the 'legacy' version.)
Awesome, @Phinix! Thanks a bunch!
Report comment to moderator  
Reply With Quote
Unread 04/21/21, 10:51 PM  
denzil

Forum posts: 0
File comments: 26
Uploads: 0
IDK why buy my 24h format doesn't work anymore
I never used that temp patched version.. and I updated this one recently. I only display lore time, I tried messing with all relevant settings, but everything still works in 12h format.. the #X or #H format .. it's all the same. Am I missing something?
Report comment to moderator  
Reply With Quote
Unread 04/18/21, 10:47 AM  
Phinix
 
Phinix's Avatar
AddOn Author - Click to view AddOns

Forum posts: 186
File comments: 1779
Uploads: 32
Updates...

Hi all! Just wanted to let everyone know I have come onboard and will be maintaining this project with Tyx moving forward. I have made some preliminary quality of life changes as well as incorporating the time format fixes from Phuein's quick patch:

Version 2.2.1:
  • Incorporated Phuein's time format fixes (esoui.com/downloads/info2895-Clock-TamrielStandardTimeQuickPatch.html).
  • Added options for zero-padding individual time variables (hour, minute, second, day, and month) so you can customize the floating time display more specifically. Before if you chose zero padding (so minutes would read as 12:04 P.M. for example), it would also zero pad all the other values. So, the date would read as 04th instead of 4th, hours would read as 08:14 A.M. instead of 8:14 A.M., and if you wanted to remove these zeroes by disabling zero padding it disabled it for minutes, so you would get things like 12:4 A.M.. Setting this option for individual types avoids these limitations.
  • Added option for minimalist am/pm values in the floating time (doesn't effect the tooltip display). This causes for example, 4:12 A.M. to display as 4:12 am, for people who prefer a more minimal display.
  • Added a new option to the text edit options for floating time display, %D, which will show the day with the phonetic suffixes "1st, 3rd, 4th," etc., while %d will just show the plain number (1, 3, 4), useful for doing things like 4-4-21.
IMPORTANT NOTE: If you previously installed Phuein's quick patch, you may need to uninstall it and manually install this version again through Minion before you get the latest changes. (Make sure to select this main version and not the 'legacy' version.)
Last edited by Phinix : 04/18/21 at 11:54 AM.
Report comment to moderator  
Reply With Quote
Unread 01/30/21, 10:33 AM  
Sylvermoon

Forum posts: 5
File comments: 33
Uploads: 0
Originally Posted by Phuein
Until the original author returns, I really like this addon too , so I went ahead making a patched version. Fixed month's day, and space in lore year and era. You want to disable the original and use the patched one, until they're back. Enjoy!

https://www.esoui.com/downloads/info...uickPatch.html

Thanks for the cool addon!
Thank you @Phuein!
Report comment to moderator  
Reply With Quote
Unread 01/14/21, 08:12 PM  
BSKCorp
AddOn Author - Click to view AddOns

Forum posts: 12
File comments: 46
Uploads: 5
THANK YOU!

You are a gods send lmao thank you!

Originally Posted by Phuein
Until the original author returns, I really like this addon too , so I went ahead making a patched version. Fixed month's day, and space in lore year and era. You want to disable the original and use the patched one, until they're back. Enjoy!

https://www.esoui.com/downloads/info...uickPatch.html

Thanks for the cool addon!
Report comment to moderator  
Reply With Quote
Unread 01/09/21, 04:49 AM  
Phuein
 
Phuein's Avatar
AddOn Author - Click to view AddOns

Forum posts: 132
File comments: 268
Uploads: 16
Until the original author returns, I really like this addon too , so I went ahead making a patched version. Fixed month's day, and space in lore year and era. You want to disable the original and use the patched one, until they're back. Enjoy!

https://www.esoui.com/downloads/info...uickPatch.html

Thanks for the cool addon!
Last edited by Phuein : 01/09/21 at 04:50 AM.
Report comment to moderator  
Reply With Quote
Unread 12/21/20, 03:01 AM  
Azmodan

Forum posts: 0
File comments: 33
Uploads: 0
Re: More broken parts

Originally Posted by Emjay_moon
In addition to the numeric part of the day of the month being missing the real world day of the week is now a day ahead. So if today is Tuesday the addon shows it as Wednesday.

Unfortunately this is the only addon that shows both Tamriel and real world time and I really want to have both.
Info Panel also shows both Tamriel and real world time. But I love this addon, it is so immerse.
Report comment to moderator  
Reply With Quote
Unread 12/14/20, 11:23 PM  
Emjay_moon

Forum posts: 0
File comments: 5
Uploads: 0
Unhappy More broken parts

In addition to the numeric part of the day of the month being missing the real world day of the week is now a day ahead. So if today is Tuesday the addon shows it as Wednesday.

Unfortunately this is the only addon that shows both Tamriel and real world time and I really want to have both.
Report comment to moderator  
Reply With Quote
Unread 11/07/20, 07:50 AM  
Drikanyx

Forum posts: 0
File comments: 1
Uploads: 0
Re: Re: Update broke the Numeric Day

Originally Posted by BSKCorp
best way to describe it is with a screen grab

https://gyazo.com/889c80d4356150b6f7a6821c1d9417dd

the Numeric day is now a nd..

Edit: so it is not showing the numbers of the day.. ..
Same. The Author hasn't been on in a while and the Libraries haven't been updated since Greymoor. I'm guessing that the issue has to do with the API changes in the latest patch, but I don't know enough to puzzle it out. If I find a cause I'll see if I can fix it and update but no promises I'm afraid.
Report comment to moderator  
Reply With Quote
Unread 11/04/20, 07:02 PM  
MaximusRex

Forum posts: 0
File comments: 9
Uploads: 0
Re: Update broke the Numeric Day

Originally Posted by BSKCorp
best way to describe it is with a screen grab

https://gyazo.com/889c80d4356150b6f7a6821c1d9417dd

the Numeric day is now a nd..

Edit: so it is not showing the numbers of the day.. ..
I am having the same issue.
Report comment to moderator  
Reply With Quote
Unread 11/03/20, 08:00 PM  
BSKCorp
AddOn Author - Click to view AddOns

Forum posts: 12
File comments: 46
Uploads: 5
Update broke the Numeric Day

best way to describe it is with a screen grab

https://gyazo.com/889c80d4356150b6f7a6821c1d9417dd

the Numeric day is now a nd..

Edit: so it is not showing the numbers of the day.. ..
Last edited by BSKCorp : 11/04/20 at 11:49 AM.
Report comment to moderator  
Reply With Quote
Unread 10/11/20, 09:59 AM  
BSKCorp
AddOn Author - Click to view AddOns

Forum posts: 12
File comments: 46
Uploads: 5
Small Suggestion, Personal

By chance, my OCD Lore is kill me with this one. Don't get me wrong though I love your mod I can't play with out but is there anyway to change the Year from 2E### to ### 2E or have the space between the 2E and the year as the legacy version did.

EDIT: So With my very little knowledge of coding I was actually able to do it myself. Surprisingly lol UHmm. I hope this is not an issue and I will keep it to myself to use only. Just it looks better lmao for me. XD but again thank you so much for this awesome mod, I use it with a Journal Mod and keep track of my adventures in Tamriel as I am a Hardcore Slowplay player, I literally RP walk everywhere (unless I really need to run) and I do not fast travel. XD
Last edited by BSKCorp : 10/11/20 at 10:15 AM.
Report comment to moderator  
Reply With Quote
Unread 08/03/20, 07:17 PM  
esosikkerhed

Forum posts: 0
File comments: 14
Uploads: 0
Originally Posted by Pyromaniac
The issue has resolved itself somehow.
This is just because of the texture on nearly new moons. As the moons wax, they will be more visible in the addon.
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.