[weewx-user] Re: Display both Local and UTC time on page

2017-09-08 Thread Bruce Huddleston
Outstanding! Worked like a champ.

On Thursday, September 7, 2017 at 7:53:31 PM UTC-5, Bruce Huddleston wrote:
>
> I've looked through the documentation and don't see a way to display UTC 
> time using the $current.dateTime.format method.
>
> I have $current.dateTime.format("%H%M") displaying local Rpi time but I 
> need both. It's probably something easy but I can't figure it out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: database error

2017-09-08 Thread 'Ralf Buck' via weewx-user
works again.

i restore my backup. now i change the system to orange pi +2 and install 
complete to emmc.


Am Samstag, 2. September 2017 12:12:56 UTC+2 schrieb Ralf Buck:
>
> hello
>
> it seems that my database had a error
>
> Sep 02 12:11:56 raspberrypi weewx[1385]: File 
> "/usr/share/weewx/weewx/manager.py", line 214, in firstGoodStamp
> Sep 02 12:11:56 raspberrypi weewx[1385]:   _row = 
> self.getSql("SELECT MIN(dateTime) FROM %s" % self.table_name)
> Sep 02 12:11:56 raspberrypi weewx[1385]: File 
> "/usr/share/weewx/weewx/manager.py", line 394, in getSql
> Sep 02 12:11:56 raspberrypi weewx[1385]:   _cursor.execute(sql, 
> sqlargs)
> Sep 02 12:11:56 raspberrypi weewx[1385]: File 
> "/usr/share/weewx/weedb/sqlite.py", line 29, in guarded_fn
> Sep 02 12:11:56 raspberrypi weewx[1385]:   return fn(*args, 
> **kwargs)
> Sep 02 12:11:56 raspberrypi weewx[1385]: File 
> "/usr/share/weewx/weedb/sqlite.py", line 211, in execute
> Sep 02 12:11:56 raspberrypi weewx[1385]:   return 
> sqlite3.Cursor.execute(self, *args, **kwargs)
> Sep 02 12:11:56 raspberrypi weewx[1385]:   DatabaseError: database 
> disk image is malformed
> Sep 02 12:11:56 raspberrypi weewx[1385]:   Exiting.
>
>
> how can i fix this?
>
> regard
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.