You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When parsing arbitrary date inputs from the user with gix_date::parse(),
the non-strict gix_date::parse_header() would accept a variety of inputs
that do not match any of the known/accepted formats, but would
nonetheless be accepted as being "close enough" to a raw date as found
in git commit headers.
The new parse_raw() function takes a stricter approach to parsing raw
dates as found in commit headers, only accepting inputs that
unambiguously match a valid raw date.
The gix_date::parse() function is updated to use the new parse_raw()
function instead of the less-strict parse_header(). This has the effect
of making gix_date::parse() avoid mis-parsing various inputs that would
otherwise have been accepted by gix_date::parse_header(). For example
"28 Jan 2005".
0 commit comments