Closed levydanqc closed 1 year ago
A patch that adds the 2021 value is welcome.
I added it myself, you can add (0,0) at the end of the file « solartime.py »
Fixed in PR #140. Thanks, all.
@pingswept could we get this in a released version?
Yes, I'll try to make a release in the next few days. Feel free to post a reminder if I fail to do so.
Hey, a new release 0.10 is up on PyPI. Please alert me here if anything is amiss. The tests and validation suite all pass, and the wheel installed successfully for me from PyPI, but there could always be subtle problems.
It's 2023 and I'm getting this warning:
pysolar/solartime.py:111: UserWarning: I don't know about leap seconds after 2021
Thanks for maintaining this package!
How difficult would it be to use this package as a dependency to perhaps make keeping up with leap seconds easier?
I guess the good news is that leap seconds will be gone in 12 years or less: https://www.nature.com/articles/d41586-022-03783-5
I think I’d rather update a text file 12 or fewer times than add another dependency.
Excellent! I hadn't seen that bit of news!
Wanted to open a pull request with added info for june 30, 2023 (no leap seconds according to the page you reference), but there is no info for December 31st yet.
I don't really see a clean way of adding the now-known information yet, unless I can set it to (0, 0) or (0, None)...
I just put in (0,0) as a placeholder until the Dec 31 value is announced in July. This data will be in the next release.
Hi, is it possible to add the leap seconds for 2021 please ?
Message : UserWarning: I don't know about leap seconds after 2020 warnings.warn \
Thank you very much !