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 '_')]
Example #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 '_')]
Example #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 '_')]