Replace relative dates by real dates in your SAP Fiori overview page

Replace relative dates by real dates in your SAP Fiori overview page

Published on October 20, 2017 – See the original post here

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:

See the original post here

Recommended insights

Learn more about how we add value!

Start a Project

X

  • WORK WITH US

    Before we start, please fill this form to provide us some basic information.

  • This field is for validation purposes and should be left unchanged.
X

Oops! We could not locate your form.