14 Commits

Author SHA1 Message Date
95ad27846a Add second timestamp copy button.
When two timezones are displayed there is now a button to copy each of
the timestamps.
2021-05-09 15:28:56 -04:00
3e7189690a Remove testing code. 2021-05-09 15:23:27 -04:00
3cc49403c9 Fix an error attempting to update missing value.
The original timezone display was attempting to be updated even when it
was not displayed.
2021-05-09 15:19:44 -04:00
732a063229 Add Copy Timestamp
A button that will copy the current timestamp has been added.
2021-05-09 12:28:02 -04:00
7e3cf8ccd6 Fix #1
This should reslove the issue with the time not updating.
It appears that an issue with conflicting options for the time
formatting has been introduced.
2020-09-27 16:58:10 -04:00
efrick
1ff7d4080c Fix the check for a non value in the time update for original timezone. 2020-04-15 21:06:36 -04:00
efrick
122f33fbd6 Update to the clock.
Now allowing for display of the time in the original timezone as well as
the user selected one.
I've also added a rule to the CSS file to better display the selection
list on mobile screens.
2020-04-15 15:26:21 -04:00
20xd6
ff59adfee1 Further cleanup of the timezone and timezone offset display. 2020-04-11 13:29:49 -04:00
20xd6
d0d3682ce1 Change formating of clock.js 2020-04-11 13:19:45 -04:00
20xd6
c7a0849ef5 Added a CSS file to allow proper formatting of the date and time line. 2020-04-11 13:15:37 -04:00
20xd6
6e85595081 Setup a proper dropdown for timezone selection.
Some cleanup of the code was done.
Some of the testing and debug code needs removal.
2020-04-09 23:36:55 -04:00
efrick
c63c654ead Added the ability to change the timezone of the clock.
Previously it was only posiable to use the browers default timezone.
To be done:
	Add more timezones to the list of possiable ones.
	Clean up the formating of the updating clock to match the php
		generated inishal date string.
2020-04-09 13:56:48 -04:00
efrick
a53376f57e Cleaned up both the PHP/HTML and JavaScript code.
Removed the orignal PHP date formating. The code now runs so that PHP
will inishilize a view on the page and JS will then update this.
The formating of the Timezone doesn't seem to be consistant acrossed
browsers. And JS doesn't format time with leading zeros for minutes or
seconds which is odd. This may be fixed in a further revision.
2020-03-31 22:15:41 -04:00
efrick
453a3c561f First commit.
A simple webclock written in PHP, HTML, and js. No CSS is provided.
2020-03-31 16:54:09 -04:00