lua-users home
lua-l archive

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


Hello Scott:

I took a quick look at the os_time function in loslib.c, and the default value for hour is 12 (noon) instead of 0 (midnight). If you want it to be midnight, add "hour=0" to the table that you pass to os.time.

To Roberto or Luiz:  Is this a bug, or is it intentional?
--
Matt Campbell
Lead Programmer
Serotek Corporation
www.freedombox.info
"The Accessibility Anywhere People"