Description
I am currently using the Nix package of Micro, and have put together a script in Lua for inserting the time and date:
https://github.com/0x0000ff/date
However when i use os.date("%x") in Lua to get a date string as per instructions here:
https://www.lua.org/pil/22.1.html
I seem to get the time in the date format. So the current date of 09/04/26 comes out as 05/04/56.
Environment
- Version:
Version: 2.0.15
Commit hash: v2.0.15
Compiled on Unknown
- OS:
linux mint 22.1
- Terminal:
Konsole 23.08.05
Description
I am currently using the Nix package of Micro, and have put together a script in Lua for inserting the time and date:
https://github.com/0x0000ff/date
However when i use
os.date("%x")in Lua to get a date string as per instructions here:https://www.lua.org/pil/22.1.html
I seem to get the time in the date format. So the current date of
09/04/26comes out as05/04/56.Environment
Version: 2.0.15
Commit hash: v2.0.15
Compiled on Unknown
linux mint 22.1
Konsole 23.08.05