diff options
author | daniel-Jones <daniel@danieljon.es> | 2018-09-21 10:42:57 +0930 |
---|---|---|
committer | daniel-Jones <daniel@danieljon.es> | 2018-09-21 10:42:57 +0930 |
commit | a4b58b37b53860c4ae3eb2a739a24934f2c393f9 (patch) | |
tree | 0584d873f6c5b40723d58b47efc8ebf3004cf46d | |
parent | efc77d6286fc50819ac2ca6dbfad3ab9726522cc (diff) | |
download | binstatus-a4b58b37b53860c4ae3eb2a739a24934f2c393f9.tar.gz binstatus-a4b58b37b53860c4ae3eb2a739a24934f2c393f9.zip |
only convert if the time is > 12
-rw-r--r-- | binstatus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binstatus.c b/binstatus.c index 860529c..3881e6c 100644 --- a/binstatus.c +++ b/binstatus.c @@ -109,7 +109,7 @@ main(int argc, char *argv[]) while (1) { gettime(time); - if (!miltime) + if (!miltime && time[0] > 12) time[0] = converthour(time[0]); formatstring(status, time); XStoreName(dsp, DefaultRootWindow(dsp), status); |