Skip to Content

Replace relative dates by real dates in your SAP Fiori Overview Page

By default, when you create an Overview Page, the system will adapt all of your date fields and expose the information as a relative date, like the example below:

If you want to change this behaviour and show the real date, you just need to execute a simple configuration in your app descriptor (manifest.json) deactivating the use of relative dates:

	"sap.ovp": {
		"globalFilterModel": "...",
		"globalFilterEntityType": "...",
		"showDateInRelativeFormat": false,
		"cards": {

The attribute showDateInRelativeFormat is verified in a generic card code inside the sap.ovp library, this means that all card layouts will be affected by this configuration.

This is the final result:

Be the first to leave a comment
You must be Logged on to comment or reply to a post.