Skip to content

Change how leap second updates are checked

Choose a tag to compare

@shbhuk shbhuk released this 07 Feb 23:36
· 67 commits to master since this release
5760f39

Check #34

  1. Add build/ to gitignore and remove from github.
  2. Do not check for leap_update in loop for every iteration, instead just check for max(JDUTC) before the loop runs, and then set leap_update = False for every iter.
  3. Add timeout of 10s for leap update from USNO

Sample script and unittest checked.