From 26a1b35762deb97ceea3f6498e3106558d14c3e2 Mon Sep 17 00:00:00 2001 From: Aleksandar Fabijanic Date: Sun, 10 Mar 2024 13:46:30 +0100 Subject: [PATCH] DateTimeFormat RFC1036 Sunday name is short (should be long) #4486 --- Foundation/src/DateTimeFormat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Foundation/src/DateTimeFormat.cpp b/Foundation/src/DateTimeFormat.cpp index da25d6e8c8..27057143a0 100644 --- a/Foundation/src/DateTimeFormat.cpp +++ b/Foundation/src/DateTimeFormat.cpp @@ -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)? "