A simple polyfill for javascript Date object. It overrides the toLocaleDateString function when in a browser that does not support the locale.