Added an attribute observe to the dateFormat attribute to enable change of the locale without reloading the page.