コード例 #1
0
    def tzinfo(self):
        """The tzinfo of the user's current timezone.

        This should only be used in places where no other timezone
        such as from an event or category is available.
        """
        return get_display_tz(as_timezone=True)
コード例 #2
0
ファイル: session.py プロジェクト: bkolobara/indico
    def tzinfo(self):
        """The tzinfo of the user's current timezone.

        This should only be used in places where no other timezone
        such as from an event or category is available.
        """
        return get_display_tz(as_timezone=True)
コード例 #3
0
ファイル: categories.py プロジェクト: ipaste/indico
 def display_tzinfo(self):
     """The tzinfo of the category or the one specified by the user"""
     return get_display_tz(self, as_timezone=True)
コード例 #4
0
ファイル: events.py プロジェクト: harshdchandel/indico
 def display_tzinfo(self):
     """The tzinfo of the event as preferred by the current user"""
     return get_display_tz(self, as_timezone=True)
コード例 #5
0
ファイル: events.py プロジェクト: indico/indico
 def display_tzinfo(self):
     """The tzinfo of the event as preferred by the current user"""
     return get_display_tz(self, as_timezone=True)
コード例 #6
0
ファイル: categories.py プロジェクト: ThiefMaster/indico
 def display_tzinfo(self):
     """The tzinfo of the category or the one specified by the user"""
     return get_display_tz(self, as_timezone=True)