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

Parse marin UpdatedAgo field to secsSinceReport #38

Open
youngj opened this issue Oct 15, 2019 · 0 comments
Open

Parse marin UpdatedAgo field to secsSinceReport #38

youngj opened this issue Oct 15, 2019 · 0 comments

Comments

@youngj
Copy link
Contributor

youngj commented Oct 15, 2019

Marin Transit's API returns a UpdatedAgo field for each vehicle which may look like "2s ago" or "28m55s ago". This string should be parsed into an integer for the secsSinceReport field.

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

1 participant