diff --git a/libnymea-core/jsonrpc/systemhandler.cpp b/libnymea-core/jsonrpc/systemhandler.cpp index 859d7c07..653769cf 100644 --- a/libnymea-core/jsonrpc/systemhandler.cpp +++ b/libnymea-core/jsonrpc/systemhandler.cpp @@ -135,7 +135,7 @@ SystemHandler::SystemHandler(Platform *platform, QObject *parent): params.clear(); returns.clear(); description = "Set the system time configuraton. The system can be configured to update the time automatically " "by setting \"automaticTime\" to true. This will only work if the \"timeManagement\" capability is " - "available on this system and \"GetTime\" indicates the availability of automatic time settngs. If " + "available on this system and \"GetTime\" indicates the availability of automatic time settings. If " "any of those requirements are not met, this method will return \"false\" in the \"success\" property. " "In order to manually configure the time, \"automaticTime\" should be set to false and \"time\" should " "be set. Note that if \"automaticTime\" is set to true and a manual \"time\" is still passed, the system " diff --git a/tests/auto/api.json b/tests/auto/api.json index 41b81257..10b6c3ec 100644 --- a/tests/auto/api.json +++ b/tests/auto/api.json @@ -1341,7 +1341,7 @@ } }, "System.SetTime": { - "description": "Set the system time configuraton. The system can be configured to update the time automatically by setting \"automaticTime\" to true. This will only work if the \"timeManagement\" capability is available on this system and \"GetTime\" indicates the availability of automatic time settngs. If any of those requirements are not met, this method will return \"false\" in the \"success\" property. In order to manually configure the time, \"automaticTime\" should be set to false and \"time\" should be set. Note that if \"automaticTime\" is set to true and a manual \"time\" is still passed, the system will attempt to configure automatic time updates and only set the manual time if automatic mode fails. A time zone can always be passed optionally to change the system time zone and should be a IANA time zone id.", + "description": "Set the system time configuraton. The system can be configured to update the time automatically by setting \"automaticTime\" to true. This will only work if the \"timeManagement\" capability is available on this system and \"GetTime\" indicates the availability of automatic time settings. If any of those requirements are not met, this method will return \"false\" in the \"success\" property. In order to manually configure the time, \"automaticTime\" should be set to false and \"time\" should be set. Note that if \"automaticTime\" is set to true and a manual \"time\" is still passed, the system will attempt to configure automatic time updates and only set the manual time if automatic mode fails. A time zone can always be passed optionally to change the system time zone and should be a IANA time zone id.", "params": { "o:automaticTime": "Bool", "o:time": "Uint",