[bug 970749] Move month2number exception handling to view.