]> git.stg.codes - stg.git/commitdiff
Ticket 37. formatTime() changed to x2str() for the ChangePolicyTimeout ticket37
authorElena Mamontova <helenh463@gmail.com>
Thu, 19 Jan 2017 15:22:11 +0000 (17:22 +0200)
committerElena Mamontova <helenh463@gmail.com>
Thu, 19 Jan 2017 15:22:11 +0000 (17:22 +0200)
in GET_TARIFFS::CreateAnswer() function.

projects/stargazer/plugins/configuration/sgconfig/parser_tariffs.cpp

index daf4ef629af69934e1633f8ea3afdbd9b8b00761..9c75267480e9591544e920ddb2b28788ff3f08ac 100644 (file)
@@ -115,7 +115,7 @@ void GET_TARIFFS::CreateAnswer()
                   "<TraffType value=\"" + TARIFF::TraffTypeToString(it->tariffConf.traffType) + "\"/>" +
                   "<Period value=\"" + TARIFF::PeriodToString(it->tariffConf.period) + "\"/>" +
                   "<ChangePolicy value=\"" + TARIFF::ChangePolicyToString(it->tariffConf.changePolicy) + "\"/>" +
-                  "<ChangePolicyTimeout value=\"" + formatTime(it->tariffConf.changePolicyTimeout) + "\"/>" +
+                  "<ChangePolicyTimeout value=\"" + x2str(it->tariffConf.changePolicyTimeout) + "\"/>" +
                   "</tariff>";
         }