I want to ask that I am using this code and luna api in webos to fetch the timezones list
var req = webOS.service.request("luna://com.palm.systemservice", {
method: "time/getSystemTimezoneFile",
parameters: { "subscribe": false },
onSuccess: function (inResponse) {
console.log("Result of all apis: " + JSON.stringify(inResponse));
// To-Do something
},
onFailure: function (inError) {
console.log("Failed to get system time information");
console.log("[" + inError.errorCode + "]: " + inError.errorText);
// To-Do something
return;
}
});
This gives me response
{"subscribed":false,"timeZoneFile":"/var/luna/preferences/localtime","returnValue":true}
Here I am getting the timeZoneFile path "/var/luna/preferences/localtime"
so where to find this path.