Skip to content

runners/datetime: rework display of time zones

  • Also find time zones by short name and offset name
    dt_after_shortname
  • Display country results by region name (country name and comment if applicable), and for countries having multiple time zones (e.g. Mexico), show all of them
    dt_after_regions
  • Display abbreviation results together their long name to disambiguate (e.g. "Pacific Standard Time (PST)" instead of "PST"), and for abbreviations having multiple time zones (e.g. PST), show all of them (BUG: 462836)
    dt_after_abbrs
  • For date matches, show difference to local date
    dt_after_date-diff
  • For time matches, display date difference as "+/-1 d" if applicable and none otherwise, instead of always displaying full date
    dt_after_day-diff
  • Sort results by relevance based on match length and index, so that e.g. with query "gmt+1", "GMT+14" wouldn't be higher up than "GMT+1"
    dt_after_relevance
  • Find and display time zone names with " " instead of "_"
    dt_after_whitespace
  • Display long lines wrapped rather than elided
    dt_after_multiline
  • Make time difference strings fully localizable
  • Some minor refactoring and cleaning up
Edited by Natalie Clarius

Merge request reports