Implement (rather strange) mgd2 datetime behavior