Skip to content

Commit

Permalink
DateTimeFormat RFC1036 Sunday name is short (should be long) #4486 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
aleks-f authored Mar 11, 2024
1 parent 072ee8f commit 0c333cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Foundation/src/DateTimeFormat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const std::string DateTimeFormat::RFC850_REGEX(

const std::string DateTimeFormat::RFC1036_FORMAT("%W, %e %b %y %H:%M:%S %Z");
const std::string DateTimeFormat::RFC1036_REGEX(
"(((Monday)|(Tuesday)|(Wednesday)|(Thursday)|(Friday)|(Saturday)|(Sun)), *)?"
"(((Monday)|(Tuesday)|(Wednesday)|(Thursday)|(Friday)|(Saturday)|(Sunday)), *)?"
"\\d\\d? +"
"((Jan)|(Feb)|(Mar)|(Apr)|(May)|(Jun)|(Jul)|(Aug)|(Sep)|(Oct)|(Nov)|(Dec)) +"
"\\d\\d(\\d\\d)? +\\d\\d:\\d\\d(:\\d\\d)? "
Expand Down

0 comments on commit 0c333cb

Please sign in to comment.