Skip to content

v2.8

Compare
Choose a tag to compare
@shred shred released this 22 May 13:01
· 81 commits to master since this release
7d306d0
  • A new copy() method creates an independent copy of a Parameters instance.
  • sameLocationAs() and sameTimeAs() can be used to copy location and time parameters from other Parameters instances, even from other calculation types.
  • MoonIllumination is now also using more accurate formulas, like all the other classes. This was the last relic of the old JavaScript port (version 1). suncalc is now a completely independent project. 🎉
  • Documentation is now using mkdocs. It has been reviewed and extended. There are now usage examples.