15 Commits

Author SHA1 Message Date
e9425d87d2 Fix error adding class to copy buttons
The quotes arround the class assignment had not been properly escaped.
This was causing PHP to fail and return a blank page.
2021-11-23 08:54:28 -05:00
7df5bbd271 Fix a display issue #8
Update index.php with class tags for the timestamp copy buttons.
2021-11-19 17:12:43 -05:00
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
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
de2e79491c Rebasing from master.
I had started work on a new feature on the production branch. Master
having been protected.
2020-09-27 16:40:06 -04:00
6ea147716f Testing. 2020-05-11 15:24:55 -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
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