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
    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
 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)