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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: should round off timestamp #835

Merged
merged 1 commit into from
Jul 29, 2022
Merged

Conversation

hiddestokvis
Copy link
Contributor

This PR fixes a small bug where a date value converted to seconds, will most likely have decimal points. Something the API does not seem to accept.


Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Make sure to open a GitHub issue as a bug/feature request before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Fixes #834 馃

@amuramoto amuramoto closed this Jul 29, 2022
@amuramoto amuramoto reopened this Jul 29, 2022
@amuramoto amuramoto merged commit 002812e into googlemaps:master Jul 29, 2022
@amuramoto
Copy link
Member

Thanks for the PR @hiddestokvis!

googlemaps-bot added a commit that referenced this pull request Jul 29, 2022
### [3.3.19](v3.3.18...v3.3.19) (2022-07-29)

### Bug Fixes

* should round off timestamp ([#835](#835)) ([002812e](002812e))
BaljeetSinghaw added a commit to BaljeetSinghaw/services-js that referenced this pull request Nov 11, 2022
Smile4192 added a commit to Smile4192/google-maps-service-js that referenced this pull request Mar 7, 2023
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

Successfully merging this pull request may close these issues.

Directions: departure_time has an invalid value when passing a date
3 participants