diff core.lua @ 85:4771ee8eaa81

Revert the change using seconds in the fallback timestamp. OF COURSE that won't work. Drink more coffee next time.
author Farmbuyer of US-Kilrogg <farmbuyer@gmail.com>
date Thu, 21 Jun 2012 19:38:54 +0000
parents c87bf3e756f3
children 703bbe61d12d
line wrap: on
line diff
--- a/core.lua	Thu Jun 21 02:17:26 2012 +0000
+++ b/core.lua	Thu Jun 21 19:38:54 2012 +0000
@@ -820,7 +820,7 @@
 						e.unique, e.history_unique = e.history_unique, nil
 					end
 					if e.unique == nil or #e.unique == 0 then
-						e.unique = e.id .. e.person .. date("%Y/%m/%d %H:%M:%S",e.stamp)
+						e.unique = e.id .. e.person .. date("%Y/%m/%d %H:%M",e.stamp)
 					end
 				end
 			end
@@ -3202,14 +3202,14 @@
 			-- FIXME The deleted cache isn't nearly as useful now with the new data structures.
 			local when
 			if (not e.unique) or (#e.unique==0) then
-				when = g_today and self:format_timestamp (g_today, e) or date("%Y/%m/%d %H:%M:%S",e.stamp)
+				when = g_today and self:format_timestamp (g_today, e) or date("%Y/%m/%d %H:%M",e.stamp)
 				e.unique = e.id .. name .. when
 			end
 			local U = e.unique
 			local c = deleted_cache[U]
 			deleted_cache[U] = nil
 			name_h.unique[#name_h.unique+1] = U
-			name_h.when[U] = c and c.when or when or date("%Y/%m/%d %H:%M:%S",e.stamp)
+			name_h.when[U] = c and c.when or when or date("%Y/%m/%d %H:%M",e.stamp)
 			name_h.id[U] = e.id -- c.id
 			name_h.count[U] = c and c.count or e.count
 			sort_player(name_h)