summaryrefslogtreecommitdiff
path: root/scite
diff options
context:
space:
mode:
Diffstat (limited to 'scite')
-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