On Wed, Mar 30, 2011 at 08:33:28PM +0200, Robert Pankowecki wrote: > On Wed, Mar 30, 2011 at 5:55 PM, Aaron Patterson > <[email protected]> wrote: > >> As you can see the simple expectation that yesterday = today -1 and > >> tomorrow = today + 1 is apparently not true in some cases. This > >> problem probably happens around midnight in some zones... > >> > >> Do you want me to create tickets for them ? > > > > Yes please. Does this happen on 3.0.4 too? > > Yes 3.0.4, 3.0.5, 3.0.6.rc1, maybe even earlier versions.
We'll discuss this on LH, but this ticket won't block the release. > https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/6654-dateyesterday-and-datetomorrow-returns-wrong-values Thanks for filing this! -- Aaron Patterson http://tenderlovemaking.com/
pgpuQKe8L86Zb.pgp
Description: PGP signature
