Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The time zone doesn't work #23

Closed
xunknownofc opened this issue Aug 20, 2023 · 1 comment
Closed

The time zone doesn't work #23

xunknownofc opened this issue Aug 20, 2023 · 1 comment

Comments

@xunknownofc
Copy link

xunknownofc commented Aug 20, 2023

In the function, you must add:
$('tz', t);

Old function clock

        function clock(){
            d=new Date();
            updateTime();
            updateDate();
            $('player', player);
            $('agency', agency);
            $('callsign', callsign);
            animate=setTimeout(clock,100);
        };

New function clock

        function clock(){
            d=new Date();
            updateTime();
            updateDate();
            $('player', player);
            $('agency', agency);
            $('tz', t);
            $('callsign', callsign);
            animate=setTimeout(clock,100);
        };

This way, it will work

@zhivotnoya
Copy link
Owner

I edited the file today to make it a permanent UTC clock. However, I may create other versions that use local time, or multiple files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants