Time Bug?

All discussions & material related to Command's Lua interface

Moderators: RoryAndersonCDT, michaelm75au, angster, MOD_Command

Post Reply
User avatar
SeaQueen
Posts: 1436
Joined: Sat Apr 14, 2007 4:20 am
Location: Washington D.C.

Time Bug?

Post by SeaQueen »

Has anyone noticed that the time displayed in the main window doesn't seem to agree with:

Code: Select all

 currentTime = ScenEdit_CurrentTime() 
 print(currentTime)
 print(os.date("%m/%d/%Y %I:%M:%S %p", currentTime ))
 

I'm trying to determine if this is a bug, or I'm an idiot. Either are equally plausible.
User avatar
SeaQueen
Posts: 1436
Joined: Sat Apr 14, 2007 4:20 am
Location: Washington D.C.

RE: Time Bug?

Post by SeaQueen »

I just confirmed. I'm almost certainly an idiot.
Post Reply

Return to “Lua Legion”