Author Topic: System timestamp error  (Read 1544 times)

Offline aznetcowboy

  • Full Member
  • ***
  • Posts: 73
    • El Gheko Neighborhood Weather Station
System timestamp error
« on: April 03, 2013, 03:35:21 PM »
Jacques,

In the system.htm display box I have been getting the "Last Update" timestamp reading like the following:

El Gheko Neighborhood Weather Station
Last update : 3 Apr 2013, at h:mm:ss
Last error date : ------
Quote
<div class="box_img4">
<h4>Latest Readings</h4>
<p style="Float: left; margin: 20px 30px 0px 20px"><img src="images/station1.png" alt="" title=""/></p>
<br />
<h1 style="padding-right: 30px; text-align: center">El Gheko Neighborhood Weather Station</h1>
<h4>Last update : 3 Apr 2013, at h:mm:ss</h4>
<h4>Last error date : ------</h4>
<p><strong> </strong></p>
</div>
 

That was captured via a right mouse click to show what was really happening at the moment.

The actual code in the system,htm file for that box shows:
Quote
<div class="box_img4">
<h4>Latest Readings</h4>
<p style="Float: left; margin: 20px 30px 0px 20px"><img src="images/station1.png" alt="" title=""/></p>
<br />
<h1 style="padding-right: 30px; text-align: center"><#location></h1>
<h4>Last update : <#update format="d mmm yyyy', at h:mm:ss"></h4>
<h4>Last error date : <#LatestErrorDate></h4>

<p><strong> <#LatestError></strong></p>
</div>
Why or what is happening here? I haven't found anything that makes sense to me.

Tom

Offline joew

  • Jr. Member
  • **
  • Posts: 36
    • TigerDenWX
Re: System timestamp error
« Reply #1 on: April 03, 2013, 08:34:56 PM »
 Hi Tom,

I believe you are missing a closing single quote after the word "at" just before the h:mm:ss
in your system.htm file.

The line should look like:

           <h4>Last update : <#update format="d mmm yyyy', at' h:mm:ss"></h4>

Joe
« Last Edit: April 03, 2013, 08:45:09 PM by joew »

Offline aznetcowboy

  • Full Member
  • ***
  • Posts: 73
    • El Gheko Neighborhood Weather Station
Re: System timestamp error
« Reply #2 on: April 04, 2013, 12:15:42 AM »
Hi Tom,

I believe you are missing a closing single quote after the word "at" just before the h:mm:ss
in your system.htm file.

The line should look like:

           <h4>Last update : <#update format="d mmm yyyy', at' h:mm:ss"></h4>

Joe

Joe,

That was it. It just took a third set of eyes to see it. Thanks!


Tom