aboutsummaryrefslogtreecommitdiff
path: root/tests/timestamp/driver.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-05-15 17:11:27 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2016-05-31 18:42:55 +0300
commit61ef82ec2b2ca396667f92a4e5c6ceb729c42086 (patch)
tree57ca5868483f361a9da28bbfc32f0cc838787b3e /tests/timestamp/driver.cxx
parent79bb0331cb93a736193e733b5ae26d040931a1aa (diff)
Port to MinGW
Diffstat (limited to 'tests/timestamp/driver.cxx')
-rw-r--r--tests/timestamp/driver.cxx13
1 files changed, 8 insertions, 5 deletions
diff --git a/tests/timestamp/driver.cxx b/tests/timestamp/driver.cxx
index 4c366fc..f5f30b9 100644
--- a/tests/timestamp/driver.cxx
+++ b/tests/timestamp/driver.cxx
@@ -10,7 +10,6 @@
#include <cassert>
#include <sstream>
#include <iomanip>
-#include <iostream>
#include <system_error>
#include <butl/timestamp>
@@ -172,12 +171,16 @@ main ()
"%[.N]%Y-%m-%d %H:%M:%S",
"." + ns (384902285) + "2016-02-21 19:31:10"));
- /*
- setlocale (LC_ALL, "de_DE.utf-8");
- locale::global (locale ("de_DE.utf-8"));
+// setlocale (LC_ALL, "");
+// setlocale (LC_ALL, "de_DE.utf-8");
+// setlocale (LC_ALL, "de-de");
+// setlocale (LC_ALL, "German_Germany.1252");
+// locale::global (locale (""));
+// locale::global (locale ("de_DE.utf-8"));
+/*
assert (parse ("Mai 11 19:31:10 2016 GMT", "%b %d %H:%M:%S%[.N] %Y"));
locale::global (locale ("C"));
- */
+*/
// @@ When debuging strptime() fallback implementation compiled with GCC
// 5.3.1, the following asserts will fail due to bugs in implementation