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.WriteTime("ChangePolicyTimeout", td.tariffConf.changePolicyTimeout);
+ cf.WriteString("ChangePolicyTimeout", formatTime(td.tariffConf.changePolicyTimeout));