ethgaswatch
ethgaswatch copied to clipboard
Set time zones based on client
Description:
We should enable the page to resolve the the local timezone.
This can be achieved through:
Intl.DateTimeFormat().resolvedOptions().timeZone
Questions: Is there a reason why this isn't done? Happy to create PR for this.
Hi, no specific reason why this isn't done, no. But it obviously makes sense. Would be great if you can submit a PR.
@wslyvh Would be happy to do it. To help me get started, could you let me know which file(s) I should be looking at? I see these files so far:
- https://github.com/wslyvh/ethgaswatch/blob/0277d2fdde24fd9e72e2caf5805d81dbd94e1e99/web/src/components/gasprices.tsx#L46
- https://github.com/wslyvh/ethgaswatch/blob/23d3ab793f884e20fed94eaf3fa494ac59b0a4df/web/src/components/gaschart.tsx