test/embulk/input/test_mixpanel.rb in embulk-input-mixpanel-0.5.13 vs test/embulk/input/test_mixpanel.rb in embulk-input-mixpanel-0.5.14
- old
+ new
@@ -796,10 +796,10 @@
record = records.first
properties = record["properties"]
time = properties["time"]
tz = TZInfo::Timezone.get(TIMEZONE)
- offset = tz.period_for_local(time, true).offset.utc_offset
+ offset = tz.period_for_local(time, true).offset.utc_total_offset
adjusted_time = time - offset
added = [
properties["foo"],
adjusted_time,