miniwinwm / WMM_Tiny

A tiny implementation of the World Magnetic Model to calculate magnetic variation. This project is actively maintained.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wmm_get_date does not take leap year into account.

mb12 opened this issue · comments

commented

When computing decimal year, wmm_get_date needs to take into account leap year and divide by 366 in those cases.

Now fixed, thanks.