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
 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
 def display_tzinfo(self):
     """The tzinfo of the category or the one specified by the user"""
     return get_display_tz(self, as_timezone=True)