grommet / hpe-design-system

HPE Design System
48 stars 23 forks source link

DateTime Formatting & Guidance #2463

Closed SOjaHPE closed 1 day ago

SOjaHPE commented 2 years ago

Summary

There is a need across our platform to establish guidelines around the display of time and date stamps.

ToDos

Background

Storage Time / Date Stamp Requirements-

Infosight Use Cases

  1. Data is aggregated across time zones according to UTC
  2. Showing both time periods in the UI. That way, users can see their local time zone and are told why a day doesn't start when they'd expect it to

Manually Entering Dates

Notes from Edgar and Misc. Sources

Can appear in many contexts:

vavalos5 commented 2 years ago

Including link to Edgar's notes for any future reference.

vavalos5 commented 2 years ago

Relevant to #2039 which i'm closing because it's an older and similar ticket as this one. Moving to the "Next Active" column per Eric's request.

SOjaHPE commented 1 year ago

Adding some more context here, DSCC tech pubs recommended their UX team to follow Microsoft UI abbreviations.

It appears that their guidance works well for them, Judy W. reach out to see if HPE Design System has further guidance.

There only reservations in particular, using just a “d” or an “h” looks a little lonely in the UI, but it could technically be fine too:

https://www.figma.com/file/2cuoao4i28opFMSNrFDx9a/Time-Zone-%26-Timestamps?type=design&node-id=1368%3A14721&t=9sElRDP4ZWhFW2W0-1

Microsoft UI abbreviations:

Second, Seconds: sec Minute, Minutes: min Hour, Hours: h Day, Days: d Week, Weeks: wk Month, Months: mo Years, Years: yr

KennyAtHPE commented 1 year ago

DateTime abbreviation recommendation

taysea commented 1 day ago

Closing, page has been published: https://design-system.hpe.design/foundation/date-and-time?q=date