on 11-25-2021 11:13 AM
Hello
I am using SAP Business Objects Design Studio 1.6 (SP7), and have written script to display "Today's Date".
******** When I execute this dashboard locally, i.e (highlighted in below image1), the date is displayed correctly (today is 25/11/2021) (Image 1A)
****** But the same this when executed on SAP HANA, i.e (highlighted in below image2) the date is displayed incorrectly. (today is 25/11/2021) (Image 2)
Please help me with the solution.
Thank You.
Hi Maniish,
can you try to set the format option in the binding like:
<Text text="{ path: '/currentDate',
type: 'sap.ui.model.type.Date',
formatOptions: { pattern: 'yyyy-MM-dd' }
}" />
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Dot.
I have checked all the settings, they are correct.
Moreover, When i execute it locally or on SAP HANA, they are getting opened in same brower.
For locally it is displayed correctly, but for SAP HANA it is incorrect.
Thank You.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Manish,
The date format is typically related to the user locale settings, for e.g. language settings in Browser. Can you check this in the browser that opens?
Thanks
Dot
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.