diff options
author | B. Stack <bgstack15@gmail.com> | 2023-12-05 10:48:34 -0500 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2023-12-05 10:48:34 -0500 |
commit | fc1aa3a6ac60374291236acc177993e7b8a3f3df (patch) | |
tree | 2535f59aaf495e8552f33df1c8f89c3fde19cecd /scite/debian/stackrpms.lua | |
parent | scite: document this liblua5.4 correction (diff) | |
download | stackrpms-fc1aa3a6ac60374291236acc177993e7b8a3f3df.tar.gz stackrpms-fc1aa3a6ac60374291236acc177993e7b8a3f3df.tar.bz2 stackrpms-fc1aa3a6ac60374291236acc177993e7b8a3f3df.zip |
npp 8.6.0, and scite lua fix
Diffstat (limited to 'scite/debian/stackrpms.lua')
-rw-r--r-- | scite/debian/stackrpms.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scite/debian/stackrpms.lua b/scite/debian/stackrpms.lua index 8423feb..21f9257 100644 --- a/scite/debian/stackrpms.lua +++ b/scite/debian/stackrpms.lua @@ -267,7 +267,7 @@ end -- %y two-digit year (98) [00-99] -- %% the character '%' function InsertDateAH() - local dow = tostring(os.date("%w") + 1) + local dow = tostring(math.floor(os.date("%w") + 1)) local d1 = os.date("%Y-%m-%d-") local d2 = os.date(" %H:%M") editor:AddText(d1..dow..d2) |