reconcile date formatting from #23121 with RT 4.0.13 (RT#13852)