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.
This commit is contained in:
efrick
2020-04-15 15:26:21 -04:00
parent ff59adfee1
commit 122f33fbd6
4 changed files with 36 additions and 5 deletions

View File

@@ -17,7 +17,11 @@ A javascript interpriter - Basicaly a modernish webbrowser.
1. Edit `clock.php` to point to your CSS files.
2. Add a symlink from `clock.php` to a file called `index.php`.
`ln -s clock.php index.php`
#### Note:
There is a small privacy concern. Because this clock is using PHP to creat the inishal time entry and because this is using the `date()` function in PHP to do this it will reveal what timezone the server running it is set to.
### ToDo
- [ ] Add a differentiator from the selected timezone and the origonal timezone.
- - [ ] Display original timezone's time.
- - [ ] Display the offset of the two selected timezones.
- [ ] Add a timer.
- [ ] Multiple clocks for tracking regions.