amphtml
amphtml copied to clipboard
Consider using standard format for `amp-timeago` locale
Describe the new feature or change to an existing feature you'd like to see
I would like amp-timeago's locale attribute to use some standardized format, such as IETF language tags (e.g. zh-CN), as opposed to some custom format (zhCN).
Describe alternatives you've considered
I've formatted locales to amp-timeago's format in the meantime.
Additional context
Using a non-standard format causes unnecessary headaches for developers because the default locale libraries of programming languages (e.g. Java) do not support the format out of the box. They support the standard format (and output it).
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.