LibClock – Tamriel Standard Time

Build Status codecov GitHub issues GitHub last commit Run on Repl.it

| | | | |—–|—–|—–| | Version: | 1.0.0 | Documentation |
| Build for game version: | 100030 | Download |

How to use

  1. Link it in your Addon.txt

<code>## DependsOn: LibClockTST</code> 2. Create an instance of the library in your addon

`<span class="backtick"><code>local TST = LibClockTST:Instance()</code></span>`
  1. Subscribe to or get the needed data
1. Subscribe
    `<span class="backtick"><code>
    local function myTimeAndDateUpdate(time date)
        d(time, date)
    end
    TST:Register(&quot;MyAddonHandle&quot;, myTimeAndDateUpdate)
    </code></span>

2. Get

    <span class="backtick"><code>local time, date = TST:GetTime(), TST:GetDate()</code></span>`
generated by LDoc 1.4.6 Last updated 2020-05-30 11:20:24