from e-support OYW-455599. Problem was that in nctime.c#CDMonthDay, it was setting up the month -> #days table correctly, but it did not use it because it forgot to check for Cd366, it only checked for Cd365.