commit f67d1f5a5e9e6708617cca8f9d73883b1f31fe5a
parent cb7c54f9b836742a4a201d6355a11ce973510ba7
Author: Juan F. Meleiro <juan@juanmeleiro.mat.br>
Date: Thu, 9 Nov 2023 07:43:28 -0300
Report and record
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/absurdor b/absurdor
@@ -221,7 +221,7 @@ if args.command == "report" then
end
elseif args.command == "record" then
if args.what == "push" then
- io.write(string.format("%s pushed the boulder at %d\n", args.who, args.when))
+ io.write(string.format("%s pushed the boulder at %s\n", args.who, os.date("%Y-%m-%d %H:%M %z", args.when)))
table.insert(log, {
when = args.when,
what = "push",
diff --git a/log.json b/log.json
@@ -1 +1 @@
-[{"when":1687186898,"what":"report","height":0},{"when":1687483775,"who":"4st","what":"push"},{"when":1687783602,"what":"report","height":1},{"when":1688411251,"what":"report","height":1},{"when":1688997918,"who":"juan","what":"push"},{"when":1689001176,"what":"report","height":2},{"when":1689965374,"what":"report","height":2},{"when":1690248734,"what":"report","height":2},{"when":1690814390,"who":"juan","what":"push"},{"when":1690814458,"what":"report","height":3},{"when":1690842943,"who":"snail","what":"push"},{"when":1691422342,"what":"report","height":4},{"when":1692015498,"what":"report","height":4},{"when":1692643133,"what":"report","height":4},{"when":1693175927,"who":"snail","what":"push"},{"when":1693231987,"what":"report","height":5},{"when":1693918103,"what":"report","height":5},{"when":1693918207,"what":"report","height":5},{"when":1694441365,"what":"report","height":0},{"when":1694441716,"what":"push","who":"juan","where":"20230911141516.fg7w76yg5yvuavhr@grimnir"},{"when":1695040187,"what":"report","height":1},{"when":1695655471,"what":"report","height":0},{"when":1695655510,"who":"juan","what":"push"},{"when":1696278128,"what":"report","height":1},{"when":1696278126,"what":"push","who":"juan","where":"e3siqismfpl6bxsvqppizt4it52jpnyn4laayp6lo7vkqbub74@ybz7yynnllio"},{"when":1696591280,"what":"push","who":"snail","where":"CAFDWCJa3n0G0-L68xN-Q23Z_-AEeQiKcqf0-K4cnZrjRPdzjYQ@mail.gmail.com"},{"when":1697257473,"what":"push","who":"kiako","where":"7d233f1d-ba60-4ffa-9a2d-5867441f5228@gmail.com"},{"when":1697462276,"what":"report","height":4},{"when":1697794974,"what":"push","who":"snail","where":"CAFDWCJZ9V6e+RMdZg639WvhcQ2v=PxM_Z9K2wNG7yDC2ymra1g@mail.gmail.com"},{"when":1698073095,"what":"report","height":5},{"when":1698612663,"what":"push","who":"snail","where":"CAFDWCJZygQrTjYe0qz1KLOK3JS3HmBv64h69mXSjGOwbPVP_cg@mail.gmail.com"},{"when":1698694564,"what":"report","height":6},{"when":1699285556,"what":"report","height":6}]
-\ No newline at end of file
+[{"height":0,"when":1687186898,"what":"report"},{"what":"push","when":1687483775,"who":"4st"},{"height":1,"when":1687783602,"what":"report"},{"height":1,"when":1688411251,"what":"report"},{"what":"push","when":1688997918,"who":"juan"},{"height":2,"when":1689001176,"what":"report"},{"height":2,"when":1689965374,"what":"report"},{"height":2,"when":1690248734,"what":"report"},{"what":"push","when":1690814390,"who":"juan"},{"height":3,"when":1690814458,"what":"report"},{"what":"push","when":1690842943,"who":"snail"},{"height":4,"when":1691422342,"what":"report"},{"height":4,"when":1692015498,"what":"report"},{"height":4,"when":1692643133,"what":"report"},{"what":"push","when":1693175927,"who":"snail"},{"height":5,"when":1693231987,"what":"report"},{"height":5,"when":1693918103,"what":"report"},{"height":5,"when":1693918207,"what":"report"},{"height":0,"when":1694441365,"what":"report"},{"who":"juan","where":"20230911141516.fg7w76yg5yvuavhr@grimnir","when":1694441716,"what":"push"},{"height":1,"when":1695040187,"what":"report"},{"height":0,"when":1695655471,"what":"report"},{"what":"push","when":1695655510,"who":"juan"},{"height":1,"when":1696278128,"what":"report"},{"who":"juan","where":"e3siqismfpl6bxsvqppizt4it52jpnyn4laayp6lo7vkqbub74@ybz7yynnllio","when":1696278126,"what":"push"},{"who":"snail","where":"CAFDWCJa3n0G0-L68xN-Q23Z_-AEeQiKcqf0-K4cnZrjRPdzjYQ@mail.gmail.com","when":1696591280,"what":"push"},{"who":"kiako","where":"7d233f1d-ba60-4ffa-9a2d-5867441f5228@gmail.com","when":1697257473,"what":"push"},{"height":4,"when":1697462276,"what":"report"},{"who":"snail","where":"CAFDWCJZ9V6e+RMdZg639WvhcQ2v=PxM_Z9K2wNG7yDC2ymra1g@mail.gmail.com","when":1697794974,"what":"push"},{"height":5,"when":1698073095,"what":"report"},{"who":"snail","where":"CAFDWCJZygQrTjYe0qz1KLOK3JS3HmBv64h69mXSjGOwbPVP_cg@mail.gmail.com","when":1698612663,"what":"push"},{"height":6,"when":1698694564,"what":"report"},{"height":6,"when":1699285556,"what":"report"},{"who":"kiako","where":"33255be4-743b-4ee0-ae4b-ac35d2c3ca1d@gmail.com","when":1699293000,"what":"push"},{"who":"snail","where":"CAFDWCJaZVKE2AJJpe-w5c8W6xeDYGnE3AV6=TbWxEHE7GqoOzQ@mail.gmail.com","when":1699445073,"what":"push"}]
+\ No newline at end of file