[Ovmsdev] Web frontend

Geir Øyvind Vælidalo geir at validalo.net
Mon Jan 29 04:14:54 HKT 2018


This wasn’t straight forward… My mac didn’t like the -c.

Geir

> 28. jan. 2018 kl. 21:10 skrev Michael Balzer <dexter at expeedo.de>:
> 
> I should've checked for POSIX compatibility… %s is indeed non standard.
> 
> Can you please try…
> 
> stat -c %Y somefile
> 
> 
> 
> Am 28.01.2018 um 21:05 schrieb Geir Øyvind Vælidalo:
>> I get an error:
>> 
>> date +%s -r ./suc.zip
>> date: illegal time format
>> usage: date [-jnRu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ... 
>>             [-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format]
>> 
>> Strange, but it does not seem to work.
>> I try with hardcoded times.
>> 
>> Geir
>> 
>>> 28. jan. 2018 kl. 21:00 skrev Michael Balzer <dexter at expeedo.de <mailto:dexter at expeedo.de>>:
>>> 
>>> date +%s -r somefile
>> 
>> 
>> 
>> _______________________________________________
>> OvmsDev mailing list
>> OvmsDev at lists.teslaclub.hk <mailto:OvmsDev at lists.teslaclub.hk>
>> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev <http://lists.teslaclub.hk/mailman/listinfo/ovmsdev>
> 
> -- 
> Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
> Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.teslaclub.hk
> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.teslaclub.hk/pipermail/ovmsdev/attachments/20180128/85b27fe7/attachment.html>


More information about the OvmsDev mailing list