summaryrefslogtreecommitdiff
path: root/scite/debian
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
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')
-rw-r--r--scite/debian/changelog6
-rw-r--r--scite/debian/scite+stackrpms.dsc2
-rw-r--r--scite/debian/stackrpms.lua2
3 files changed, 8 insertions, 2 deletions
diff --git a/scite/debian/changelog b/scite/debian/changelog
index 0d8d007..47a49f8 100644
--- a/scite/debian/changelog
+++ b/scite/debian/changelog
@@ -1,3 +1,9 @@
+scite (5.4.0-101+stackrpms) unstable; urgency=medium
+
+ * Fix stackrpms.lua date functions for lua float to int
+
+ -- B. Stack <bgstack15@gmail.com> Tue, 05 Dec 2023 10:48:03 -0500
+
scite (5.4.0-100+stackrpms) unstable; urgency=medium
* Add stackrpms lua script and customized global.properties
diff --git a/scite/debian/scite+stackrpms.dsc b/scite/debian/scite+stackrpms.dsc
index 1b0f326..2d9d335 100644
--- a/scite/debian/scite+stackrpms.dsc
+++ b/scite/debian/scite+stackrpms.dsc
@@ -2,7 +2,7 @@ Format: 3.0 (quilt)
Source: scite
Binary: scite
Architecture: any
-Version: 5.4.0-1+stackrpms
+Version: 5.4.0-101+stackrpms
Maintainer: B. Stack <bgstack15@gmail.com>
Homepage: https://scintilla.org/SciTE.html
Standards-Version: 4.6.0.1
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