The POCO C++ Libraries are powerful cross-platform C++ libraries for building network- and internet-based applications that run on desktop, server, mobile, IoT, and embedded systems.
Describe the bug
I'm using a FileChannel to record logs with property "rotation" sets to "daily". It crashed on Sunday with an error message: Invalid DateTimeString:Sunday, 10 Mar 24 07:34:50 GMT
Exception thrown at 0x00007FF88D755B0C in purpose-service.exe: Microsoft C++ exception: Poco::SyntaxException at memory location 0x000000FC5912D730.
Syntax error: Invalid DateTimeString:Sunday, 10 Mar 24 07:34:50 GMT
Please add relevant environment information:
OS Type and Version: Window 11
POCO Version: 1.13.0
Additional context
I did some research and found a regular expression in "Foundation/src/DateTimeFormat.cpp".
Describe the bug I'm using a FileChannel to record logs with property "rotation" sets to "daily". It crashed on Sunday with an error message: Invalid DateTimeString:Sunday, 10 Mar 24 07:34:50 GMT
To Reproduce
Logs
Please add relevant environment information:
Additional context I did some research and found a regular expression in "Foundation/src/DateTimeFormat.cpp".
Should the "Sun" in this regular expression be changed to "Sunday"?