Ignore:
Timestamp:
Jan 9, 2017, 11:09:38 AM (3 years ago)
Author:
jrpelegrina
Message:

Update new version: 3.15.02

File:
1 edited

Legend:

Unmodified
Added
Removed
  • filezilla/trunk/fuentes/src/interface/settings/optionspage_dateformatting.cpp

    r130 r3185  
    7272                        return DisplayError(_T("ID_CUSTOM_DATEFORMAT"), _("Please enter a custom date format."));
    7373                }
    74                 if (!CDateTime::VerifyFormat(dateformat)) {
     74                if (!fz::datetime::verify_format(dateformat.ToStdWstring())) {
    7575                        return DisplayError(_T("ID_CUSTOM_DATEFORMAT"), _("The custom date format is invalid or contains unsupported format specifiers."));
    7676                }
     
    8282                        return DisplayError(_T("ID_CUSTOM_TIMEFORMAT"), _("Please enter a custom time format."));
    8383                }
    84                 if (!CDateTime::VerifyFormat(timeformat)) {
     84                if (!fz::datetime::verify_format(timeformat.ToStdWstring())) {
    8585                        return DisplayError(_T("ID_CUSTOM_TIMEFORMAT"), _("The custom time format is invalid or contains unsupported format specifiers."));
    8686                }
     
    9090}
    9191
    92 void COptionsPageDateFormatting::OnRadioChanged(wxCommandEvent& event)
     92void COptionsPageDateFormatting::OnRadioChanged(wxCommandEvent&)
    9393{
    9494        SetCtrlState();
Note: See TracChangeset for help on using the changeset viewer.