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

Time method's called incorrectly #13

Open
kmacvittie opened this issue Mar 8, 2018 · 0 comments
Open

Time method's called incorrectly #13

kmacvittie opened this issue Mar 8, 2018 · 0 comments

Comments

@kmacvittie
Copy link

The methods for calling UTC and local time in the sample code are called incorrectly. The current sample code is:

print("Time UTC: " + str(packet.time_utc()))
print("Time Local: " + str(packet.time_local()))

According to the docs (and verified personally) it should be:

   print("Time UTC: " + str(packet.get_time()))
   print("Time Local: " + str(packet.get_time(local_time=True)))
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