> > > Wrong answer #2:
> > >     print DateTime::Calendar::Mayan->from_object(
> > >             object => DateTime->now(time_zone => 'Europe/Amsterdam') );
> > >
> >
> > So you are proposing something like this?
> >
> > print DateTime::Calendar::Mayan->now( timezone => 'Europe/Amsterdam' )->date;
>
> Either that, or your module should convert from the _local_ rd values,
> instead of the _utc_ values. (Dave's proposal)

I have the feeling that this could lead to strange errors when chaining calendars 
together.  I'd rather see floating time become equivalent to UTC.

> That would make Wrong answer #2 work; I'd settle for that.
>
> It would mean changing the rules, of course. As you said, the behaviour
> is "correct" as it is; I'd keep it this way until a better solution is
> available.

Agreed. :)

-J

--

Reply via email to