[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Back and forth UTC dates
- From: Francisco Olarte <folarte@...>
- Date: Tue, 28 Mar 2017 18:30:44 +0200
Javier:
On Tue, Mar 28, 2017 at 5:38 PM, Javier Mr <javiersdevmail@ymail.com> wrote:
> The conclusion is that os.time expects a table in local time and not in utc.
>
> A os.utime or similar would be quite useful.
You can change the code I sent you, zap the test loop, add return
utc_time, put it into utc_time.lua and monkey-path os y doing
os.utc_time=require "utc_time".
Francisco Olarte.