Dave Rolsky schreef: > On Wed, 26 Mar 2003, Eugene van der Pijll wrote: > > - changed output of datetime() to 2000-01-01J00:00:00, to be > > different from Gregorian dates. > > > > (Dave, what is the datetime() method for? It would be nice if every > > Calendar module had at least one output method in common, returning a > > compact, calendar-specific representation of the datetime.) > > The datetime method is there just to provide a convenient, reasonably > standard way to put both the date and time. In the case of DateTime.pm, > the output is actually a valid ISO 8601 datetime. I don't know if > overriding it like you did really makes sense, since what you're > outputting definitely doesn't fit the standard.
What standard? I didn't override iso8601(), only datetime(). Those are not synonymous any longer in ::Julian. If datetime() is there, as you say, as a convenient way to print both date & time, I think it would make sense to include a similar method in every calendar module, and to include in the output which calendar is used. (By the way, what should ::Julian->iso8601 return? If I follow the standard strictly, it should be the Gregorian date...) Eugene P.S. This change in datetime() causes one test in ::Christian to fail. I've already uploaded v0.02. Oh, the embarrassment...
