Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "local" time for events #1785

Open
jmfee-usgs opened this issue Jul 18, 2019 · 2 comments
Open

Add "local" time for events #1785

jmfee-usgs opened this issue Jul 18, 2019 · 2 comments

Comments

@jmfee-usgs
Copy link
Contributor

One option is system time, since that informs the user based on their computer time zone settings.

Another option for large events with a losspager product is:

https://earthquake.usgs.gov/realtime/product/losspager/ci38457511/us/1562429005114/json/event.json

which has pager['local-time-string'] in it. You could use that if you like.

@vinceq-usgs
Copy link
Contributor

FYI Got yet another user requesting this feature for the DYFI page. There's a "Local system time" for the Latest Earthquakes page, but I don't think that setting gets stored?

@jmfee-usgs
Copy link
Contributor Author

@dslosky-usgs : this could be a good issue for the relative time component. I think a shared component for times would be useful.

This should take a time input, and can have a couple formatting options (UTC, System Time, Relative Time).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants