mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-17 10:35:10 +00:00
tztime: fix argument parsing bug, clarify docs
This commit is contained in:
parent
1e893ec6e3
commit
ea92e63a44
@ -3126,7 +3126,7 @@
|
||||
<command>
|
||||
<option>tztime</option>
|
||||
</command>
|
||||
<option>(timezone) (format)</option>
|
||||
<option>(timezone (format))</option>
|
||||
</term>
|
||||
<listitem>Local time for specified timezone, see man
|
||||
strftime to get more information about format. The timezone
|
||||
|
@ -46,9 +46,9 @@ void scan_tztime(struct text_object *obj, const char *arg)
|
||||
|
||||
switch (nArgs) {
|
||||
case 2:
|
||||
tz = buf1;
|
||||
case 1:
|
||||
fmt = buf2;
|
||||
case 1:
|
||||
tz = buf1;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user