http://dev.rubyonrails.org/ticket/7399 exposes a problem with Time.now.tomorrow that I personally ran into the other day. Is there a recommended way to approach this differently or is this ticket considered the "right" implementation of tomorrow, in which case I''d be more than happy to create a patch + tests. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
Hmm I should clarify. The behavior is specifically this: Date.parse(''2008-03-09'').tomorrow # => Mon, 10 Mar 2008 Time.parse(''2008-03-09'').tomorrow # => Sun Mar 09 23:00:00 -0400 2008 On Mar 10, 9:54 am, Aaron Pfeifer <aaron.pfei...@gmail.com> wrote:> http://dev.rubyonrails.org/ticket/7399exposes a problem with > Time.now.tomorrow that I personally ran into the other day. Is there > a recommended way to approach this differently or is this ticket > considered the "right" implementation of tomorrow, in which case I''d > be more than happy to create a patch + tests.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
Apologies for the noise... looks like just a timezone setting wasn''t right. On Mar 10, 10:18 am, Aaron Pfeifer <aaron.pfei...@gmail.com> wrote:> Hmm I should clarify. The behavior is specifically this: > > Date.parse(''2008-03-09'').tomorrow # => Mon, 10 Mar 2008 > Time.parse(''2008-03-09'').tomorrow # => Sun Mar 09 23:00:00 -0400 2008 > > On Mar 10, 9:54 am, Aaron Pfeifer <aaron.pfei...@gmail.com> wrote: > > >http://dev.rubyonrails.org/ticket/7399exposesa problem with > > Time.now.tomorrow that I personally ran into the other day. Is there > > a recommended way to approach this differently or is this ticket > > considered the "right" implementation of tomorrow, in which case I''d > > be more than happy to create a patch + tests.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---