# HG changeset patch # User Farmbuyer of US-Kilrogg # Date 1340307534 0 # Node ID 4771ee8eaa81ba1943ceb0c20114448e385d70d9 # Parent c87bf3e756f3246d4746b3348737c5de7a5bf58a Revert the change using seconds in the fallback timestamp. OF COURSE that won't work. Drink more coffee next time. diff -r c87bf3e756f3 -r 4771ee8eaa81 core.lua --- 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)