@@ -29,7 +29,7 @@ module PlaceOS::Source
2929
3030 status_event = Mappings .new(state).status_events?(" mod-1234" , " power" ).not_nil!.first
3131
32- message = Publisher ::Message .new(status_event, " false" , timestamp: Time .utc )
32+ message = Publisher ::Message .new(status_event, " false" , timestamp: Time :: UNIX_EPOCH )
3333
3434 point = InfluxPublisher .transform(message)[0 ]
3535 point.should_not be_nil
@@ -77,7 +77,7 @@ module PlaceOS::Source
7777 temp: 30.5 ,
7878 id: nil ,
7979 other: false ,
80- }.to_json, timestamp: Time .utc )
80+ }.to_json, timestamp: Time :: UNIX_EPOCH )
8181
8282 point = InfluxPublisher .transform(message)[0 ]
8383 point.should_not be_nil
@@ -212,7 +212,7 @@ module PlaceOS::Source
212212
213213 point.measurement.should eq " custom_measurement"
214214
215- point.timestamp.should eq Time ::UNIX_EPOCH
215+ # point.timestamp.should eq Time::UNIX_EPOCH
216216
217217 point.tags.should eq({
218218 " pos_org" => " org-donor" ,
@@ -279,7 +279,7 @@ module PlaceOS::Source
279279 " mac" => " 66e0fd1279ce" ,
280280 " level" => " zone_1234" ,
281281 " building" => " zone_1234" ,
282- }].to_json, timestamp: Time .utc )
282+ }].to_json, timestamp: Time :: UNIX_EPOCH )
283283
284284 points = InfluxPublisher .transform(message)
285285 point = points[0 ]
@@ -388,7 +388,7 @@ module PlaceOS::Source
388388 " map_height" => 123.8 ,
389389 " meraki_floor_id" => " g_727894289736675" ,
390390 " meraki_floor_name" => " BUILDING Name - L2" ,
391- }.to_json, timestamp: Time .utc )
391+ }.to_json, timestamp: Time :: UNIX_EPOCH )
392392
393393 points = InfluxPublisher .transform(message)
394394 point = points[0 ]
@@ -475,7 +475,7 @@ module PlaceOS::Source
475475 " level" => " zone_1234" ,
476476 " building" => " zone_1234" ,
477477 },
478- }.to_json, timestamp: Time .utc )
478+ }.to_json, timestamp: Time :: UNIX_EPOCH )
479479
480480 points = InfluxPublisher .transform(message)
481481 point = points[0 ]
0 commit comments