[sup-devel] Patch: Hookify Time#to_nice_s

Tero Tilus tero at tilus.net
Mon Jan 24 18:24:50 EST 2011


I noticed that my index-mode-date-widget hook patch (22c7a51675d8) was
not quite there.  This is what it should have been from the beginning.

This renders index-mode-date-widget hook obsolete, since
Time#to_nice_s is what index-mode defaults to when there is no hook
defined.  Unless of course you want "nice time" to be something else
on index-mode than everywhere else, which I don't think anybody wants.

Is this good as is or should I in this patch do something about the
now obsolete index-mode-date-widget hook?  Deprecate somehow?

-- 
Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Hookify-Time-to_nice_s.patch
Type: application/octet-stream
Size: 4986 bytes
Desc: not available
URL: <http://rubyforge.org/pipermail/sup-devel/attachments/20110125/88ccfbdc/attachment-0001.obj>


More information about the Sup-devel mailing list