Changeset

116:8bb289b2b7be

clix.archive: Show proper timestamps
author Kim Alvefur <zash@zash.se>
date Fri, 12 Jul 2013 04:16:46 +0200
parents 115:c6b5d2039f25
children 117:d2cb5800ab27
files clix/archive.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/clix/archive.lua	Tue Jul 09 14:27:41 2013 +0200
+++ b/clix/archive.lua	Fri Jul 12 04:16:46 2013 +0200
@@ -19,7 +19,7 @@
 		local m = i.message;
 		local a = m.attr;
 		if i.stamp then
-			print(os.date(nil, i.stamp));
+			print(os.date("%Y-%m-%d %H:%M:%S", i.stamp));
 		end
 		if a.to and bare_jid(a.to) ~= selfjid then
 			print("To ".. bare_jid(a.to));