Ejemplo n.º 1
0
 def _tz_get(self):
     # put POSIX 'Etc/*' entries at the end to avoid confusing users - see bug 1086728
     return [(tz, tz)
             for tz in sorted(pytz.all_timezones,
                              key=lambda tz: tz
                              if not tz.startswith('Etc/') else '_')]
Ejemplo n.º 2
0
 def _tz_get(self):
     return [(tz, tz)
             for tz in sorted(pytz.all_timezones,
                              key=lambda tz: tz
                              if not tz.startswith('Etc/') else '_')]
Ejemplo n.º 3
0
 def _tz_get(self):
 # put POSIX 'Etc/*' entries at the end to avoid confusing users - see bug 1086728
     return [(tz,tz) for tz in sorted(pytz.all_timezones, key=lambda tz: tz if not tz.startswith('Etc/') else '_')]