Template:LocaleDate
This template (in tandem with the extensions TemplateStyles and TemplateStylesExtender, the styles.css subpage, and JS code in MediaWiki:Common.js that taps into the browser locale) allows a date to dynamically re-format as MDY or DMY based on the user's locale. This somewhat hacky approach is necessary because MediaWiki still lacks the ability for a template to directly read the user's locale.
Simply call the template and pass it the components of the date in YMD order:
Oni released on {{LocaleDate|2001|1|29}}.
yields:
Oni released on 1292001.