relative-time-element icon indicating copy to clipboard operation
relative-time-element copied to clipboard

Allow setting timezone attribute

Open Moggers opened this issue 1 year ago • 1 comments
trafficstars

Have a case where sometimes we want to display times in local TZ, sometimes based on TZ of where the timestamp originated. I've just slapped a TZ attribute on the element and passed it through - is there particular reason this isn't in the API already before I try to upstream it? Did I fail to RTFM?

Moggers avatar Sep 25 '24 01:09 Moggers

Seems reasonable. PRs welcome!

keithamus avatar Sep 25 '24 16:09 keithamus