本文介绍了wxLog 过去 5 小时的时间戳的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚将旧版应用从 wxWidgets 2.8.x 升级到 2.9.3

I just upgraded a legacy app from wxWidgets 2.8.x to 2.9.3

日志时间戳现在是过去 5 小时!

The log timestamps are now 5 hours in the past!

此屏幕截图是在美国东部时间下午 1:40 截取的,如任务栏时钟显示所示.

This screenshot was taken at 1:40PM in EST, as shown in the taskbar clock display.

如果时间戳是 UTC,我不会太介意,但它似乎使用太平洋某处的时区.

I wouldn't mind so much if the timestamp was UTC, but it seems to be using a timezone somewhere in the Pacific.

我该如何更改?

推荐答案

http://trac.wxwidgets.org/ticket/14148 似乎遇到了同样的问题.看看您是否可以获得有关该问题的任何帮助.

http://trac.wxwidgets.org/ticket/14148 seems to be experiencing the same problem. See if you can get any help on that issue.

仔细阅读该票证上的讨论表明,这是 wxWidgets v2.9.3 中的一个错误,已在 v2.9.4 中修复.

As suggested by a careful reading of the discussion on that ticket, this is a bug in wxWidgets v2.9.3, fixed in v2.9.4.

这篇关于wxLog 过去 5 小时的时间戳的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-24 07:07