Page 1 of 1

WebCam - Time Display Format from Main Setup settings

Posted: Mon Oct 16, 2017 6:59 pm
by MonyMony
In looking at both the Webcam Plugin and Blocks, can these be tweaked to display the time in the format specified in the main setup page? Mainly looking to show in 12h format (with am/pm) and not 24h clock. This would be the "Preferred time format" value.

Thanks for considering.

Jay

Re: WebCam - Time Display Format from Main Setup settings

Posted: Mon Oct 16, 2017 8:34 pm
by Jachym
Which page exactly?

Re: WebCam - Time Display Format from Main Setup settings

Posted: Tue Oct 17, 2017 11:53 am
by MonyMony
The Plugin - ../plugins/webcam/index.php
Block - webcamTimelapse

If you want to see this on a page, I have a second site I am building (not fully functional yet) you can look at:

Block - http://www.cecilweather.com/weather/mon ... esktop.php
Plugin - http://www.cecilweather.com/weather/mon ... /index.php

BTW, these are some very nice additions to the template!

Re: WebCam - Time Display Format from Main Setup settings

Posted: Tue Oct 17, 2017 12:38 pm
by Jachym
RIght, now I see what you mean. The problem is that because it needs to be updating the time, it is handled by not PHP, but Javascript and so it does not have access to your Main setup.