summaryrefslogtreecommitdiff
path: root/scite/debian/stackrpms.lua
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2023-12-05 10:48:34 -0500
committerB. Stack <bgstack15@gmail.com>2023-12-05 10:48:34 -0500
commitfc1aa3a6ac60374291236acc177993e7b8a3f3df (patch)
tree2535f59aaf495e8552f33df1c8f89c3fde19cecd /scite/debian/stackrpms.lua
parentscite: document this liblua5.4 correction (diff)
downloadstackrpms-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.lua2
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)
bgstack15