lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Il Sun, 29 Jan 2017 11:44:49 -0200 Roberto Ierusalimschy <roberto@inf.puc-rio.br> scrisse:

> > [...]
> > After some research, I was surprised to discover that os.time()
> > modifies the datetime table passed in. Here is the proof:
> > [...]  
> 
> The parameter to 'os.time' is what is called an "in-out" parameter. It
> follows the behavior of the corresponding C function, 'mktime':
> ...

Man, that function is really ugly. Thank you for the explanation.

Ciao.
-- 
Nicola