Author Topic: Local time clock  (Read 2378 times)

Offline gkowen

  • New member
  • *
  • Posts: 6
    • Greg's Weather
Local time clock
« on: January 03, 2013, 09:43:37 PM »
Here is my page:  http://home.comcast.net/~gkowen/MyWeather/

I can get the clock to display local time but it still displays the Quebec Canada location.  Here is whay is in the clockp.js file.

var localZone = 1; //have tried 0 also
var mytimezone = -8;
var dst = 0;
var city = 'Rochester, WA';
var country = 'USA';
var fix = 1;

Offline gkowen

  • New member
  • *
  • Posts: 6
    • Greg's Weather
Re: Local time clock
« Reply #1 on: January 03, 2013, 09:58:45 PM »
I found it. The location on the clock doesn't come from clockp.js but from index.html.  I made the change in index.html and all appears well. Thanks for a great webpage presentation for my weather data!

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Local time clock
« Reply #2 on: January 04, 2013, 05:53:17 AM »
Hi GK,
You're"fast on the switch"!  ;)
Pretty good installation... I like your pictures!  :)

... waiting for descriptions in the slideshow!

Regards,
Jacques
Please, consider supporting this site 

Offline gkowen

  • New member
  • *
  • Posts: 6
    • Greg's Weather
Re: Local time clock
« Reply #3 on: January 04, 2013, 10:57:38 AM »
yes, slideshow descriptions are on my to do list. I am looking at gauges and trends now to see if they can be converted from metric to whatever its called we Americans use. I enjoy playing with code. It keeps my brain functioning.

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Local time clock
« Reply #4 on: January 04, 2013, 12:00:28 PM »
Hi GK,
Then, there is a "storm" in your brain these days?   :)) (I love that icon!!!)

For your units, you have to define it as fast as you can!
They are all in Cumulus menu Configuration --> Station --> Units

Choose them as "serously" as you can, because when you change them,
past datas aren't converted, then...

Regards,
Jacques
Please, consider supporting this site 

Offline gkowen

  • New member
  • *
  • Posts: 6
    • Greg's Weather
Re: Local time clock
« Reply #5 on: January 04, 2013, 01:11:39 PM »
I have the right settings in Cumulus.  The trends page is still in metric though. It doesn't look like a change is possible without changing the graphics. I am still looking at it.

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Local time clock
« Reply #6 on: January 04, 2013, 02:00:43 PM »
Hi GK,

Check your files timestamp! If we check your graph, date is 2011-11-21!!!
Maybe ticking "Include Standard Images" in menu Configuration --> Internet --> Files.

Regards,
Jacques
Please, consider supporting this site 

Offline gkowen

  • New member
  • *
  • Posts: 6
    • Greg's Weather
Re: Local time clock
« Reply #7 on: January 04, 2013, 09:46:05 PM »
The standard images and files are ticked and when I force an update I can see them loading.  I added filenames and descriptions to my photos and changed the about page. Now to get trends working. I really appreciate your help :-)

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Local time clock
« Reply #8 on: January 05, 2013, 07:00:45 AM »
Hi,

Really good photos, I like the one of the sky at your backdoor...
and with your "puppy"... you're a good photographer!!!

For your graphs, you have change them, so it is prety difficult to see
if they are late or not! But, you see the file timestamp! We could try 2 things:

1 - Check with your ftp software, that these files are Read/Write/Execute
(usually '666'). Often, you could take all images folder and apply 'permissions'
to this folder and all files in it, in one shot.

2 - You could go in menu Configuration --> Internet --> Files/Options tab,
you'll find a box "Web Settings". 4 first options are for the way that Cumulus
"replace" an existing file (overite, delete before, etc), try them!

Hope we sole it with these

Regards,
Jacques
Please, consider supporting this site 

Offline gkowen

  • New member
  • *
  • Posts: 6
    • Greg's Weather
Re: Local time clock
« Reply #9 on: January 05, 2013, 03:37:18 PM »
It turns out if you read the readme.txt file it says to install in C:\Cumulus folder.  I moved everything there and it all works. I love taking photos.  Thanks for a great template and all the help. 

Greg