Skip to content

Commit eec2e8e

Browse files
Revert "default TZ for sensors to EDT for demo"
This reverts commit 87ae679.
1 parent 87ae679 commit eec2e8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CognicityServer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ CognicityServer.prototype = {
291291
"row_to_json((props.id, props.height_above_riverbed, props.measurements)::sensor_metadata_type) as properties " +
292292
"FROM (SELECT " +
293293
"m.location, m.id, m.height_above_riverbed, " +
294-
"array_to_json(array_agg((obs.measurement_time AT TIME ZONE 'EDT', obs.distance, m.height_above_riverbed - obs.distance, obs.temperature, obs.humidity)::sensor_data_type ORDER BY obs.measurement_time ASC)) as " +
294+
"array_to_json(array_agg((obs.measurement_time AT TIME ZONE 'AESST', obs.distance, m.height_above_riverbed - obs.distance, obs.temperature, obs.humidity)::sensor_data_type ORDER BY obs.measurement_time ASC)) as " +
295295
"measurements " +
296296
"FROM " +
297297
options.tbl_sensor_data+" as obs, " +

0 commit comments

Comments
 (0)