** Changed in: mahara
       Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1723784

Title:
  Incorrect time for 'Last login' in User activity report

Status in Mahara:
  Fix Committed

Bug description:
  Because elasticsearch records dates/times as UTC milliseconds we need
  to convert it back to the correct timezone offset before displaying
  the date.

  Eg, elasticsearch returns for login: 15081408020000
  so we need to divide by 1000
  then find our timezone's offset, eg 46800
  then add/subtract that depending if offset is positive or negative
  So: 16 October 2017, 21:00 pm
  Becomes: 16 October 2017, 08:00 am

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1723784/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to