aws-amplify / aws-amplify/amplify-studio
AWSDateTime formatting in Studio
- Dominant language
- No language data
- Stars
- 135
- Forks
- 32
- PR merge metrics
- No merged PRs in 30d
Description
**Is your feature request related to a problem? Please describe.**
From AWS Amplify Discord
@bluevalhalla
> I have a UI component modified from the StandardCard provided in the Amplify Studio/Figma examples. If I connect it to a text field using the label prop, it pints out an unformatted test string like: 2022-07-29T10:09:01Z. How can I get this to format to something like July 29, 2022 9:01? Localized to the users time zone would be even better!
**Describe the solution you'd like**
>I want to display an AWSDateTime from my data model (images.date) in a user friendly format within the card.
Contributor guide
Research direction
Start with the Amplify Studio/Figma StandardCard example and the label binding for images.date. Trace how an AWSDateTime value reaches the card, then determine how the displayed date should be formatted and localized to the user's time zone; done means the card shows a user-friendly date instead of the raw timestamp.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100