Support providing locale in options
yardenshoham opened this issue · comments
Intl.DateTimeFormat accepts locale
This is now supported in v3.2.0
via the lang
attribute. The element will find the nearest element that has a lang
attribute and use that; so you can set it once on <html lang="...">
and <relative-time
> should respect that!