Skip to content

Commit d80e258

Browse files
committed
Document how to reverse sort order
1 parent b0d9b0e commit d80e258

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.org

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,14 @@ Launch =time-zones= with:
4444
:vc (:url "https://github.com/xenodium/time-zones"))
4545
#+end_src
4646

47+
** Customization
48+
49+
The default sort order is chronologically increasing, so time zones in "the past" occur earlier in the list than time zones in "the future". You can reverse the sorting via:
50+
51+
#+begin_src emacs-lisp :lexical no
52+
(advice-add 'time-zones--sort-cities-by-time :filter-return 'reverse)
53+
#+end_src
54+
4755
* Run
4856

4957
#+begin_src

0 commit comments

Comments
 (0)