P3-Core-Dev-Team / P3-Q-A

This repo is for tracking features
Other
0 stars 0 forks source link

ADS-Search - Date format set in user preference impact in search result (Dell) #77

Closed raniangamuthu closed 3 months ago

raniangamuthu commented 4 months ago

Suppose the user from India sets the date preference as "dd-MM-yyyy" and user from USA sets the date preference as "MM-dd-yyyy" and the date in the database is in yyyy-MM-dd format. The date format display in the search form reflects the preference but the results page is displayed as in database and not aligned with the chosen date preference.

kilam005 commented 4 months ago

@raniangamuthu the code updates to support this are being integrated. This will have to undergo regressive testing before packaging. This issue can be made available in next release (3.1.8 aka 2024.01.xxxx) or as a patch after next release

Please note we are attempting our best to give it as a patch in 3.1.7 itself by fast tracking testing but currently immediate delivery will be difficult.

kilam005 commented 3 months ago

The necessary update to set the date in the search results area as per user's preference has been included.

RCA No configuration was initially avaialble, so query level updates made was directly translated

Need Query level translation make date field get treated as String. This result is date getting sorted as string make it not useful

Fix Code changes are make to identfiy values in Result fields marked as Date and those which contain date to get manipulated at the display level as per the user's preference configuration.

kilam005 commented 3 months ago

This fix is available in effectv region. Please check this and provide a closure.

raniangamuthu commented 3 months ago

Verified the fix and it is working