Fix assigning 'current'/'future' CSS classes incorrectly after midnight UTC, instead of midnight local