gh0stzk / dotfiles

BSPWM environment with 18 themes. With a theme selector to change on the fly.
GNU General Public License v3.0
3.03k stars 228 forks source link

Update time.js #231

Closed flick36 closed 7 months ago

flick36 commented 7 months ago

I simplify the method to get the date and time and updated to a more modern syntax in the process to be in sync with the other files.

Also added a new timezone config option, which is useful, for all of us that set the privacy.resistFingerprinting to true. which makes the new Date() always return the Date&Time in UTC

With this method we could add even more CONFIG variables to set the, language for example, or any other options available for the JavaScript Date formatterm i just set the timezone this time because of the aftermention detail i was having

gh0stzk commented 7 months ago

Thank you, i just tested and all is alright! i will merge now.