It is currently October 4th, 2023, 4:11 pm
Discuss the use of Lua in Script measures.
-
CitizenDee
- Posts: 3
- Joined: March 27th, 2020, 11:29 pm
Post
by CitizenDee »
Hi,
In the pinned example for os.time (
https://forum.rainmeter.net/viewtopic.php?t=27625 ) the syntax in the text for the table given to os.time is incorrect.
Examples are given as
Code: Select all
myTimeStamp = os.time({year=2001, month=9, day=11, hour=13, minute=46})
where
should be
The error is repeated once or twice, but is ok in the attached code example.
-
jsmorley
- Developer
- Posts: 22590
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Post
by jsmorley »
CitizenDee wrote: ↑March 27th, 2023, 9:33 pm
Hi,
In the pinned example for os.time (
https://forum.rainmeter.net/viewtopic.php?t=27625 ) the syntax in the text for the table given to os.time is incorrect.
Examples are given as
Code: Select all
myTimeStamp = os.time({year=2001, month=9, day=11, hour=13, minute=46})
where
should be
The error is repeated once or twice, but is ok in the attached code example.
I think I fixed them all, let me know if you find others. Thanks for the help!