If you have this code in your app, at first the dateFormat setting will return undefined, unless the system administrator of the application area , changes the dateFormat setting for a given user role. This means that the developer can allow the administrators to configure and tweak the behaviour of the apps via set of configuration settings.