...
We want to set everything to Indianapolis tz. So Since our his tz is already set to Indianapolis, we go to the site and select the tz to be Indianapolis. Then click on the Sync Time zones For All Points. Doing this will match the points and his data. You Thats it, both should be good matching now.
Option 2: Setting all to Los Angeles
We want to set everything to Los Angeles tz. The user will Currently the his tz is set to Indianapolis, so the user would need to match the point tz to the his tz. The user will follow Option 1 first to match the both his and point timezones. Once done doing Option 1, we'll need to rewrite the tz on the his data to Los Angeles. To do this, go to folio and run the query below for all points (if you have multiple sites with different tzs, we recommend using siteRef in the query).
...
Note: Change "Los_Angeles" part to what timezone you want it to be. Look below on how to know which timezone to use.
Then once changing the his tz to Los Angeles, go to the site and change the timezone to Los Angeles and sync it to all points. Thats it, everything should now be using Los Angeles tz.
...
Note: Change "Los_Angeles" part to what timezone you want it to be. Look below on how to know which timezone to use.
Step 2: Go to the site and change the timezone to Los Angeles and Sync it to all points. Thats it.
...
That will let you know what which timezone its using. In this case its Indianapolis.
How to know which timezone to use for query
To find out which timezone you want to use for the query to modify all, look on the site timezone drop down. It would be whatever is after the last forward slash "/".
Here are a few examples timezones you would use based on the screenshot below.
America/Indian/Know => Knox => Query: readAll(point).each x=> hisRewrite(x->id) (val, ts) => [ts.toTimeZone("Knox"), val]
America/Lima => Lima => Query: readAll(point).each x=> hisRewrite(x->id) (val, ts) => [ts.toTimeZone("Lima"), val]
America/Los_Angeles => Los_Angeles => Query: readAll(point).each x=> hisRewrite(x->id) (val, ts) => [ts.toTimeZone("Los_Angeles"), val]