Project

General

Profile

Bug #9039

Wt::WDateTime::toLocalDateTime not working

Added by Torsten Schulz over 1 year ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
09/03/2021
Due date:
% Done:

0%

Estimated time:

Description

Following code crashes:

            auto test = Wt::WDateTime::currentDateTime();
            auto locale = Wt::WLocale("de_DE");
            auto localTest = test.toLocalTime(locale);
            std::cout << test.toString() << std::endl;
            std::cout << localTest.toString() << std::endl;

in last line.

Also available in: Atom PDF