From fc1aa3a6ac60374291236acc177993e7b8a3f3df Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Tue, 5 Dec 2023 10:48:34 -0500 Subject: npp 8.6.0, and scite lua fix --- scite/debian/changelog | 6 ++++++ scite/debian/scite+stackrpms.dsc | 2 +- scite/debian/stackrpms.lua | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) (limited to 'scite/debian') 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 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 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) -- cgit