Author Topic: Military time format and Weatherlink ajax updates.  (Read 2966 times)

0 Members and 1 Guest are viewing this topic.

Offline ext3

  • Member
  • *
  • Posts: 12
Military time format and Weatherlink ajax updates.
« on: May 27, 2011, 03:00:48 AM »
Hey.I wonder if someone has a solution for that.I am using Weatherlind and saratoga template sets.The time is show correctly in php part of the template,but whenever an ajax update occured,the time swith back to military time format.
Is there any way to fix that?

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9297
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Military time format and Weatherlink ajax updates.
« Reply #1 on: May 28, 2011, 10:25:09 PM »
Yes... I added the code to support am/pm or 24hr time to ajaxWLwx.js.

Get a copy from http://saratoga-weather.org/wxtemplates/updates.php

Best regards,
Ken
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline ext3

  • Member
  • *
  • Posts: 12
Re: Military time format and Weatherlink ajax updates.
« Reply #2 on: May 30, 2011, 02:07:12 AM »
Thanx a lot.One small problem too.The BaroTrendText value is not translated.All other things in site getting translated,and the text is not in the missing words.

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9297
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Military time format and Weatherlink ajax updates.
« Reply #3 on: May 30, 2011, 01:02:51 PM »
What is the URL for your weather website that is exhibiting the problem?
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline ext3

  • Member
  • *
  • Posts: 12
Re: Military time format and Weatherlink ajax updates.
« Reply #4 on: May 30, 2011, 02:38:40 PM »
check pm please.