[Ovmsdev] Default values and fields...

Mark Webb-Johnson mark at webb-johnson.net
Thu Jun 14 09:56:06 HKT 2018


Looks good. Neat solution.

If it starts with a ‘<‘, can we display the timezone as ‘local’? Or use timezone_region if available?

Regards, Mark.

> On 14 Jun 2018, at 5:52 AM, Michael Balzer <dexter at expeedo.de> wrote:
> 
> Am 07.06.2018 um 20:59 schrieb Michael Balzer:
>> I'll include the timezone list in the web UI then.
> 
> Included.
> 
> Btw, there's a minor issue with strftime() and zone names for those "<…>" zones, e.g.
> OVMS# con lis vehicle
> vehicle (readable writeable)
>   id: DEXZE85
>   name: Rhaa, lovely!
>   timezone: <+1245>-12:45<+1345>,M9.5.0/2:45,M4.1.0/3:45
>   timezone_region: Pacific/Chatham
>   units.distance: K
> 
> OVMS# time stat
> Time Zone:  <+1245>-12:45<+1345>,M9.5.0/2:45,M4.1.0/3:45
> UTC Time:   2018-06-13 21:41:32 UTC
> Local Time: 2018-06-14 10:26:32 >
> Provider:   ntp
> 
> PROVIDER             STRATUM  UPDATE TIME
>  gsm-nmea                  2      10 Wed Jun 13 21:41:32 2018
> *ntp                       1      43 Wed Jun 13 21:41:31 2018
> 
> …but I wouldn't know what name to show for such a zone as well…
> 
> Regards,
> Michael
> 
> -- 
> Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
> Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.openvehicles.com
> http://lists.openvehicles.com/mailman/listinfo/ovmsdev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20180614/7a241fdf/attachment.htm>


More information about the OvmsDev mailing list