On Feb 9, 12:53=A0pm, Gary Wright <gwtm... / mac.com> wrote:
> On Feb 9, 2010, at 1:32 PM, Chuck Remes wrote:
> > Anyone have any bright ideas?
> >> require 'active_support'
> =3D> true
> >> Time.now.beginning_of_week
>
> =3D> Mon Feb 08 00:00:00 -0500 2010
>
>
>
> It also looks like midnight is considered part of the next day not the pr=
evious day as in your example.

No, ActiveSupport just thinks Monday is the beginning of the week.

http://api.rubyonrails.org/classes/ActiveSupport/CoreExtensions/Time/Calcul=
ations.html#M001151

--
-yossef