absurdor

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 07a46231b804f286f0828b7161a197808dc2f6bf
parent 0bc0ce8af0a444498705cf1dda6b70c9d2043b90
Author: Juan F. Meleiro <juan@juanmeleiro.mat.br>
Date:   Wed, 14 Aug 2024 11:16:05 -0300

fix: Wrong date being used in the Veblen report

Diffstat:
Mabsurdor | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/absurdor b/absurdor @@ -287,7 +287,7 @@ if args.command == "report" then f:write("HISTORY\n") table.sort(veblen.history, function(x,y) return x.cost > y.cost end) for _,e in ipairs(veblen.history) do - f:write(string.format("[%s] %s %s%s\n", os.date("%Y-%m-%d %H:%M %z", args.when), string.rep(" ", veblen.namewidth - string.len(e.who)) .. e.who, string.rep("$", e.cost), string.rep("+", e.payed - e.cost))) + f:write(string.format("[%s] %s %s%s\n", os.date("%Y-%m-%d %H:%M %z", e.when), string.rep(" ", veblen.namewidth - string.len(e.who)) .. e.who, string.rep("$", e.cost), string.rep("+", e.payed - e.cost))) end f:write('[2024-07-18 02:59 +0000] The Veblen is created') f:write("\n\n")