From 8483129b6a4746247fd7fb3b5554e10181ad937a Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 10 Jun 2020 13:26:27 +0300 Subject: Add workaround for MinGW GCC bug so to_stream(timestamp) properly handles %e specifier --- tests/timestamp/driver.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests') diff --git a/tests/timestamp/driver.cxx b/tests/timestamp/driver.cxx index 11e1821..6283798 100644 --- a/tests/timestamp/driver.cxx +++ b/tests/timestamp/driver.cxx @@ -199,6 +199,9 @@ main () "%[.N]%Y-%m-%d %H:%M:%S", "." + ns (384902285) + "2016-02-21 19:31:10")); + assert (parse ("Feb 1 2016", "%b %e %Y", "Feb 1 2016")); + assert (parse ("Feb 11 2016", "%b %e %Y", "Feb 11 2016")); + // setlocale (LC_ALL, ""); // setlocale (LC_ALL, "de_DE.utf-8"); // setlocale (LC_ALL, "de-de"); -- cgit v1.1