Skip to content

Commit b8bc996

Browse files
committed
Add month names to const
1 parent 46218bd commit b8bc996

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

gedcom7/const.py

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
"""Constants."""
22

3-
43
CONT = "CONT"
54
HEAD = "HEAD"
65
ABBR = "ABBR"
@@ -1924,3 +1923,19 @@
19241923
"https://gedcom.io/terms/v7/EXID": {"TYPE": "https://gedcom.io/terms/v7/EXID-TYPE"},
19251924
"https://gedcom.io/terms/v7/GEDC": {"VERS": "https://gedcom.io/terms/v7/GEDC-VERS"},
19261925
}
1926+
1927+
1928+
GEDCOM_MONTHS = {
1929+
"JAN": 1,
1930+
"FEB": 2,
1931+
"MAR": 3,
1932+
"APR": 4,
1933+
"MAY": 5,
1934+
"JUN": 6,
1935+
"JUL": 7,
1936+
"AUG": 8,
1937+
"SEP": 9,
1938+
"OCT": 10,
1939+
"NOV": 11,
1940+
"DEC": 12,
1941+
}

0 commit comments

Comments
 (0)