aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSolderpunk <solderpunk@sdf.org>2018-12-14 10:44:24 +0000
committerSolderpunk <solderpunk@sdf.org>2018-12-14 10:44:24 +0000
commitcaf209350fa49803d789b53c6adda7d114668c94 (patch)
tree90be9f1661a53f23a3b8b32acb084e213b826e02
parentPut asterisk after the subject of updated threads. (diff)
Fix bug where all posts appeared to be made at present day, present time (hahaha!) when viewed via 'whole' or when saved.
-rwxr-xr-xtelem.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/telem.lua b/telem.lua
index d5eeeba..5a99e87 100755
--- a/telem.lua
+++ b/telem.lua
@@ -471,7 +471,7 @@ function do_type_savefile(filename)
f:write("\n")
for _,post in ipairs(current_thread_posts) do
f:write("----------\n")
- f:write("At " .. os.date("%H:%M %B %d, %Y") .. " " .. post.author .. " said:\n")
+ f:write("At " .. os.date("%H:%M %B %d, %Y", post.timestamp) .. " " .. post.author .. " said:\n")
f:write("----------\n")
f:write("\n")
f:write(file.read(post.filename))