For centuries in the western world, the Christian church, which considered this to be in its purview, kept trying different calendar schemes to try to make a set of months, preferably equal, fit neatly into the year.
There have been may solutions tried or proposed, and the history of this has a certain puzzle-like fascination, but it's not clear to me why people cared so much about this. Astronomical periods are OK, apparently, for years and days, yet weeks and calendar months are arbitrarily imposed.