Skip to content

Commit 5396d73

Browse files
author
Jaroslaw Hartman
committed
Version 2.40
2.40 9 October 2021 * Toggle Fav List Does not Work #49
1 parent 0bd8fa4 commit 5396d73

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

Binary file not shown.

TimeZones.alfredworkflow

1.73 MB
Binary file not shown.

source/toggle_fav_city.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@ source includes.sh
22

33
search="$1" #Alfred argument
44

5-
# Strip off time, e.g. in New York, 7:20
6-
search="${search/,*/}"
5+
# searchip off time, e.g. in New York, 7:20
6+
# searching passed: 7:20 (New York)
7+
# extract City from the braces
8+
search=${search#*(}
9+
search=${search%)*}
710

811
tmp_timezone_file="${timezone_file}.tmp"
912

0 commit comments

Comments
 (0)