--JufFrlwGZkm8bk/F Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2006.10.25 01:17, Chris Richards wrote: > > The Time::next_week method is supposed to give the time of the start of > the next week. But look at this, it cocks up : > > >> t=Time.parse "Monday October 16th 2006" > => Mon Oct 16 00:00:00 BST 2006 > >> t.next_week > => Mon Oct 23 00:00:00 BST 2006 > >> t.next_week.next_week > => Tue Oct 24 00:00:00 BST 2006 > >> t.next_week.next_week.next_week > => Mon Oct 30 00:00:00 GMT 2006 > > > Arrhhhgg!! Its just f*cked up my application data! > > Has anyone run across this problem? I am sure someone on the Rails list has. > Posted via http://www.ruby-forum.com/. ^^^^^^^^^^^^^^^^^^^^^^^^^ --JufFrlwGZkm8bk/F Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFPkHI7Nh7RM4TrhIRAgcnAJ9Oxz5MFokHc5le3oOtmtpR+Ne3sACgt/jk l+enlMRGOPDplFiASWVO5f4¿B -----END PGP SIGNATURE----- --JufFrlwGZkm8bk/F--