Project

General

Profile

Support #5925

WLocale::setTimeZone seems to be broken now.

Added by Drew Dormann about 5 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
Start date:
09/21/2017
Due date:
% Done:

0%

Estimated time:

Description

Congratulations on the new release!

Wt 4.0 seems to have revised a function that is no longer backwards compatible.

https://www.webtoolkit.eu/wt/doc/reference/html/classWt_1_1WLocale.html#a5b1961702289e8dc6f9e2c293f9f8aa5

This function:

void Wt::WLocale::setTimeZone(const date::time_zone *zone)

seems to reference a type "date::time_zone*" that isn't defined or described anywhere. The Wt 3 version would accept a string. Is this function still usable? If so, what is this type?

#1

Updated by Roel Standaert about 3 years ago

  • Status changed from New to Resolved

I've updated the documentation to reflect the fact that we're now using https://howardhinnant.github.io/date/date.html for our date/time zone implementation (will become part of C++20 standard).

#2

Updated by Roel Standaert about 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF