[ckan-changes] [ckan/ckan] bb23ec: [#3373]Dashboard_mark_activities_old is set to utc...

GitHub noreply at github.com
Tue Jan 3 12:22:41 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/ckan/ckan
  Commit: bb23ece70ae6bac8b0429b973b6508974f8169d2
      https://github.com/ckan/ckan/commit/bb23ece70ae6bac8b0429b973b6508974f8169d2
  Author: Yan <yan.rudenko at linkdigital.com.au>
  Date:   2016-12-20 (Tue, 20 Dec 2016)

  Changed paths:
    M ckan/logic/action/update.py
    M ckan/model/dashboard.py

  Log Message:
  -----------
  [#3373]Dashboard_mark_activities_old is set to utcnow() format

The problem was that dashboard_mark_activities_old method was not changed to utcnow() format, so when datasets were updated, because of the time difference, user have seen them before he actually entered the page.

I've adde utcnow() format for this method and now the time works fine. Also added untnow() to Dashboard model, so the time can be saved correctly.


  Commit: 7328b584cb1817cce45aa2b4038ef01428139de0
      https://github.com/ckan/ckan/commit/7328b584cb1817cce45aa2b4038ef01428139de0
  Author: Adrià Mercader <amercadero at gmail.com>
  Date:   2017-01-03 (Tue, 03 Jan 2017)

  Changed paths:
    M ckan/logic/action/update.py
    M ckan/model/dashboard.py

  Log Message:
  -----------
  Merge pull request #3374 from Engerrs/3373-dashboard_mark_activities_old_to_utcnow_time

[#3373]Dashboard_mark_activities_old is set to utcnow() format


Compare: https://github.com/ckan/ckan/compare/286a4acff4c6...7328b584cb18


More information about the ckan-changes mailing list