Skip to content

Commit

Permalink
wxDateTime::Format() doesn't work with %T on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
wojdyr committed Jul 28, 2015
1 parent 65e5ef2 commit b7a9dea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wxgui/bgm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ void BgManager::strip_background()
{
if (bg_.empty())
return;
wxString name = wxDateTime::Now().Format(wxT("%Y-%m-%d %T"));
wxString name = wxDateTime::Now().Format("%Y-%m-%d %H:%M:%S");
name += wxString::Format(wxT(" (%d points)"), (int) bg_.size());
recent_bg_.push_back(make_pair(name, bg_));
define_bg_func();
Expand Down

0 comments on commit b7a9dea

Please sign in to comment.