Mayan mathematics – so right yet so wrong

Project title: Mayan mathematics – so right yet so wrong
Overview:

How could a civilization that could predict time and seasons so accurately get the date of the end of the world so wrong?