Select to view content in your preferred language

Experience Builder Date Format IIS Issue

134
2
a week ago
Muhammad_AzhaziqBin_Mohd_Azlan
Regular Contributor

Hi,

I've deployed my application to IIS server and seems like the date format inside feature info, table and date component all not using en-GB date format.

Muhammad_AzhaziqBin_Mohd_Azlan_0-1736207255683.png 

Muhammad_AzhaziqBin_Mohd_Azlan_1-1736207341463.png

Muhammad_AzhaziqBin_Mohd_Azlan_2-1736207363975.png


However, in local pc EXB dev edition the app shows en-GB date format. I did open the web map layer via portal map viewer. The popup and table do follow en-GB date format.

I've already update IIS language and date settings but still can't change the date format of the app.

Is there any extra configuration to be done if the application being deployed in IIS? FYI, the web server can't access public web. Not sure if this causing the issue.

 

0 Kudos
2 Replies
TimWestern
MVP

I might be wrong, but I believe Created_Date and Last_edited date are auto generated fields that give you audit information about a row of data.  When it was created? Created Date.  When it was edited last? Last Edited Date:  Those dates likely don't mape to the fields you were wanting to have for INspection Setup.

If you look at the fields for the layer, are they DateTime, DateOnly?  I know i had an issue once where if I didn't include some 'time' part in the date that it would not save propertly, maybe its something like that?


The last time I did this I used a Calcite Date Picker component to give me a calendar I could navigate through to create the correct selections.

https://developers.arcgis.com/calcite-design-system/components/date-picker/
alternatively:

https://developers.arcgis.com/calcite-design-system/components/input-date-picker/

What type are you using on the interface/type for the input as its put in?  is it Text? DateTime?

0 Kudos
Muhammad_AzhaziqBin_Mohd_Azlan
Regular Contributor

DateTime. That UI component coming from filter widget. 

We did not configure any format when we deploy the feature layer from ArcGIS Pro. So, I'm assuming it will take account device datetime format.

0 Kudos