On Thu, 9 Oct 2003, Alexey Mahotkin wrote:

>     RM> DateTime-TimeZone-0.2503/lib/DateTime/TimeZone.pm SYNOPSIS
>     >> + use DateTime; + my $datetime = DateTime->now(); + my $offset
>     >> = $tz->offset_for_datetime($datetime);
>
>     RM> Rather than this, maybe we need to add a note to all modules
>     RM> to signify that $datetime and $dt refer to DateTime.pm
>     RM> objects.
>
> That's ok, but _something_ should be said about $datetime.  I passed
> time() at first, and was surprised to see the diagnostics.

I just noticed that every method's docs says this:

  Given an object which implements the DateTime.pm API, ...

That's pretty clear, I think.


-dave

/*=======================
House Absolute Consulting
www.houseabsolute.com
=======================*/

Reply via email to