Joshua Hoblitt schreef: > > 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) 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. Eugene
