mirror of
https://github.com/JoelBender/bacpypes
synced 2025-10-27 00:57:47 +08:00
slightly more restrictive month test, disallow '00'
This commit is contained in:
@@ -1103,7 +1103,7 @@ def expand_enumerations(klass):
|
||||
# Date
|
||||
#
|
||||
|
||||
_mm = r'(?P<month>0?\d|1[0-4]|odd|even|255|[*])'
|
||||
_mm = r'(?P<month>0?[1-9]|1[0-4]|odd|even|255|[*])'
|
||||
_dd = r'(?P<day>[0-3]?\d|last|odd|even|255|[*])'
|
||||
_yy = r'(?P<year>\d{2}|255|[*])'
|
||||
_yyyy = r'(?P<year>\d{4}|255|[*])'
|
||||
|
||||
Reference in New Issue
Block a user