On Aug 28, 10:29 am, Simon Arnaud <[email protected]> wrote:
> Hi
>
> You might want to always format the date you record with strftime. I
> don't think relying on Date_to_s is wise, as it might be redefined.
>
> I, for example, display dates in french in Gtk widgets. To avoid
> calling a Date::to_s_fr on each date, I just redefined Date::to_s. So,
> I also redefined literal_date.

Simon,

Sequel already does this in the master branch, I think.  If not, let
me know and I'll fix it.

However, in general, if you modify methods that Sequel uses that are
defined by ruby, and you change their behavior, you should expect to
have problems.

Jeremy
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to