My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 3: Create dynawa.time.* API
1 person starred this issue and may be notified of changes. Back to list
 
Project Member Reported by fuka2@fuxoft.cz, Jan 30, 2010
Create time-related Lua API at dynawa.time.*

* dynawa.time.milliseconds() - Returns number of milliseconds since the last 
boot.

* dynawa.time.set(????) - API for setting real-time clock.

* dynawa.time.get(???) - API for getting real time clock values.

Instead of dynawa.time.get(), we can maybe use the existing Lua API 
os.time() to get formatted or unformatted time. However, plain Lua does not 
provide any functions for SETTING the time.
Jan 30, 2010
Project Member #1 fuka2@fuxoft.cz
(No comment was entered for this change.)
Owner: nalim68
Feb 7, 2010
Project Member #2 fuka2@fuxoft.cz
dynawa.time.set() already implemented, the rest can be done using Lua's os.time() and 
os.date()
Status: Done

Powered by Google Project Hosting