Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Date format looks incorrect in report list's title. #611

Open
skrishn opened this issue Apr 19, 2024 · 2 comments
Open

Date format looks incorrect in report list's title. #611

skrishn opened this issue Apr 19, 2024 · 2 comments
Assignees
Labels
1-BUG Something isn't working Reporter 4.x Crowdsource Reporter (new)
Milestone

Comments

@skrishn
Copy link
Collaborator

skrishn commented Apr 19, 2024

Describe the bug

The date format in the report list looks incorrect. Bug reported by USFS

Expected Behavior

It should appear in the same format as in the webmap popup.

Reproduction Steps & Sample

https://localgovdev.mapsdevext.arcgis.com/apps/instant/reporter/index.html?appid=f2897862c5574d4bb4b607a105884bf9

Webmap popup

image

Report list date format

image

Popup title date format

image

Other Relevant Info

No response

@skrishn skrishn added 1-BUG Something isn't working Reporter 4.x Crowdsource Reporter (new) labels Apr 19, 2024
@skrishn skrishn added this to the 2024.R02 milestone Apr 19, 2024
@sumitzarkar
Copy link
Collaborator

@skrishn

  • To render the popup titles in feature-list we are using the popupUtils from the solutions-component. And, this is a known limitation for now.
  • This needs to be fixed in the popupUtils in the solutions-component.
  • This utils function needs updates on different cases like date, domain, etc. Currently, it just returns the values of the attributes so it will work correctly only for string, and number fields.

@jmhauck - please let us know your thoughts on this, we think this should be handled in the same way as it is handled in the downloadUtils

@skrishn skrishn assigned jmhauck and unassigned jmhauck Apr 23, 2024
@jmhauck
Copy link
Collaborator

jmhauck commented Apr 26, 2024

@sumitzarkar yes...please do. Mike has done more to build things out in downloadUtils.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1-BUG Something isn't working Reporter 4.x Crowdsource Reporter (new)
Projects
None yet
Development

No branches or pull requests

3 participants