Make midgard_datetime behavior resemble original more closely