WebCam - Time Display Format from Main Setup settings

Post Reply
User avatar
MonyMony
Forecaster
Forecaster
Posts: 180
Joined: Sun Aug 20, 2017 12:54 pm
Location: Elkton, Maryland, US
Station model: Davis Pro 2
Software: WeatherCat/Meteobridge
Contact:

WebCam - Time Display Format from Main Setup settings

Post by MonyMony » Mon Oct 16, 2017 6:59 pm

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
Image

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: WebCam - Time Display Format from Main Setup settings

Post by Jachym » Mon Oct 16, 2017 8:34 pm

Which page exactly?

User avatar
MonyMony
Forecaster
Forecaster
Posts: 180
Joined: Sun Aug 20, 2017 12:54 pm
Location: Elkton, Maryland, US
Station model: Davis Pro 2
Software: WeatherCat/Meteobridge
Contact:

Re: WebCam - Time Display Format from Main Setup settings

Post by MonyMony » Tue Oct 17, 2017 11:53 am

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!
Image

User avatar
Jachym
Site Admin
Site Admin
Posts: 1686
Joined: Fri Aug 18, 2017 10:12 pm
Location: Brno, Czech Republic
Station model: WH1080
Software: Meteobridge
Contact:

Re: WebCam - Time Display Format from Main Setup settings

Post by Jachym » Tue Oct 17, 2017 12:38 pm

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.

Post Reply