Next / Previous / Contents / Shipman's homepage

10.1. MONTH_NAME_MAP: Translate month numbers to month names

Internally we carry month numbers such as '03'. This dictionary translates month numbers to month names.

noteweb
MONTH_NAME_MAP  =  {
    '01': 'Jan',  '02': 'Feb',  '03': 'Mar',
    '04': 'Apr',  '05': 'May',  '06': 'Jun',
    '07': 'Jul',  '08': 'Aug',  '09': 'Sep',
    '10': 'Oct',  '11': 'Nov',  '12': 'Dec' }