kartoza / watchkeeper

A security alerts platform for iMMAP
Other
1 stars 10 forks source link

Time discrepancy #84

Closed cchristelis closed 9 years ago

cchristelis commented 9 years ago

Problem

There seems to be a discrepancy between the time stamp assigned to the events and the report span. From the client: "I entered an incident with a time stamp 18 hours ago, but when looking at the 24 hours time span it doesn’t show on the map."

Proposed Solution

Investigate the source of this discrepancy and fix the problem if it is a bug.

ismailsunni commented 9 years ago

@cchristelis can you ask Ruben, the example of this error? I tried with 18 hours, 20 hours, 22 hours. All is fine and showed up in the dashboard.

cchristelis commented 9 years ago

This is probably a timezone issue.

cchristelis commented 9 years ago

As per our hip-chat conversation. Changing the app to reference UTC might solve the issue.

ismailsunni commented 9 years ago

@cchristelis so we ask the user to give UTC time when they add an alert, right? And all time will be in UTC by default

ismailsunni commented 9 years ago

Fixed in #89