From: Eero Saynatkari Date: 2006-10-25T01:42:26+09:00 Subject: Re: How can my boss take rails seriously with bugs like this? --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: >=20 > 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 : >=20 > >> t=3DTime.parse "Monday October 16th 2006" > =3D> Mon Oct 16 00:00:00 BST 2006 > >> t.next_week > =3D> Mon Oct 23 00:00:00 BST 2006 > >> t.next_week.next_week > =3D> Tue Oct 24 00:00:00 BST 2006 > >> t.next_week.next_week.next_week > =3D> Mon Oct 30 00:00:00 GMT 2006 >=20 >=20 > Arrhhhgg!! Its just f*cked up my application data! >=20 > 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= =9HLB -----END PGP SIGNATURE----- --JufFrlwGZkm8bk/F--