The SIO2 project
  1. The SIO2 project
  2. SIO-1124

convert naive datetime objects to timezone aware

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Obsolete
    • Affects Version/s: 0.1.2
    • Fix Version/s: None
    • Component/s: OIOIOI
    • Labels:

      Description

      replace all datetime.datetime.now() with django.utils.timezone.now() ?

        Activity

        Show
        Sentry added a comment - - edited https://sentry.io/the-sio2-project/oioioi/issues/745042696/?referrer=jira_plugin albo jak się nie ma konta: https://sentry.io/share/issue/a7b4ee32b38c48c68279e97d05356902/
        Hide
        Michał Sidor added a comment -
        Picking this up because apparently mailnotifyd isn't quite sending anything and Sentry hasn't been loud enough about it
        Show
        Michał Sidor added a comment - Picking this up because apparently mailnotifyd isn't quite sending anything and Sentry hasn't been loud enough about it
        Show
        Sentry added a comment - https://sentry.io/the-sio2-project/szkopul/issues/807479365/?referrer=jira_plugin
        Hide
        Gerrit Gerrit added a comment -
        Change oioioi~master~Ic58aeb2cd3369b0b95170b2ef628c1580eaec8bb, patchset 1
        https://gerrit.sio2project.mimuw.edu.pl/3144

        (SIO-1124) Replace naive datetimes in mailnotifyd with timezone-aware ones

        Before this commit, the assertion in mailnotify fails every time due to
        comparison between naive and timezone-aware datetimes.

        Change-Id: Ic58aeb2cd3369b0b95170b2ef628c1580eaec8bb
        Show
        Gerrit Gerrit added a comment - Change oioioi~master~Ic58aeb2cd3369b0b95170b2ef628c1580eaec8bb, patchset 1 https://gerrit.sio2project.mimuw.edu.pl/3144 ( SIO-1124 ) Replace naive datetimes in mailnotifyd with timezone-aware ones Before this commit, the assertion in mailnotify fails every time due to comparison between naive and timezone-aware datetimes. Change-Id: Ic58aeb2cd3369b0b95170b2ef628c1580eaec8bb
        Hide
        Szymon Acedański added a comment -
        This issue has been automatically closed as Obsolete due to no activity for 365 days.

        Feel free to reopen it or create a new one if it's still relevant.
        Show
        Szymon Acedański added a comment - This issue has been automatically closed as Obsolete due to no activity for 365 days. Feel free to reopen it or create a new one if it's still relevant.

          People

          • Assignee:
            Szymon Acedański
            Reporter:
            Michał Adamczyk
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: