for the ChangePolicyTimeout field in the SaveTariff() function in
file_store.cpp.
cf.WriteString("TraffType", TARIFF::TraffTypeToString(td.tariffConf.traffType));
cf.WriteString("Period", TARIFF::PeriodToString(td.tariffConf.period));
cf.WriteString("ChangePolicy", TARIFF::ChangePolicyToString(td.tariffConf.changePolicy));
cf.WriteString("TraffType", TARIFF::TraffTypeToString(td.tariffConf.traffType));
cf.WriteString("Period", TARIFF::PeriodToString(td.tariffConf.period));
cf.WriteString("ChangePolicy", TARIFF::ChangePolicyToString(td.tariffConf.changePolicy));
- cf.WriteString("ChangePolicyTimeout", formatTime(td.tariffConf.changePolicyTimeout));
+ cf.WriteTime("ChangePolicyTimeout", td.tariffConf.changePolicyTimeout);