How about a class method DateTime->set_default_formatter() which would override the default formatter of iso8601()?
This way all DateTime objects could be stringified in a consistent fashion without needing to set their formatter specifically.
How about a class method DateTime->set_default_formatter() which would override the default formatter of iso8601()?
This way all DateTime objects could be stringified in a consistent fashion without needing to set their formatter specifically.