summaryrefslogtreecommitdiff
path: root/src/print_time.c
AgeCommit message (Collapse)Author
2020-05-01Fix various memory leaksOrestis Floros
Fixes #362
2020-03-31use format_placeholder for timeFelix Buehler
2019-01-23Switch to autotools (#316)Michael Stapelberg
2018-11-15Corrections according to PR revieweplanet
2018-11-10Add timezone switcheplanet
2018-07-13able to print percentageFelix Buehler
its now possible to have percentage before and after a variable. except for the date. But percentage with dates does not make much sense to me, so i skipped it.
2017-12-09Call tzset at each time printeplanet
2016-10-24Setting of custom locale in tztime configuration. (#168)Björn Lindström
To be able to show my birth country's time zone in that country's locale, and my local time in my current locale.
2015-12-04Added support for Pango markup.Kenneth Lyons
2015-03-23Pass the "instance" JSON property key for tztime blocksIngo Bürk
fixes #10
2015-03-16clang-format-3.5 -i **/*.[ch], update modelineMichael Stapelberg
From here on, we’ll use clang-format to automatically format the source. This has worked well in i3, so we are introducing it for i3status.
2013-02-10use stdbool instead of (int)1 and (int)0 directlyMichael Stapelberg
2013-02-10s/\<timezone\>/tz/ in order to not shadow the timezone var from time.hMichael Stapelberg
2013-02-10Add tztime module to support multiple different timezones.Emil Mikulic
2012-04-08add yajl compat codeMichael Stapelberg
2012-03-25Properly output JSON with libyajlMichael Stapelberg
2012-02-16Implement the i3bar JSON protocolMichael Stapelberg
This hardcodes all the JSON parts. Strings are not properly escaped currently. The best/easiest way to fix this is by actually using libyajl.
2011-04-21get time at the beginning of the loopMichael Stapelberg
2010-06-19Do proper error handling in print_time()Axel Wagner
2009-10-11Breaks configfiles! Major refactoring of i3status, see belowMichael Stapelberg
We finally switched to libconfuse for a configuration file format which does not require much work for the programmer nor for the user. Plus, it avoids the Not-Invented-Here syndrome of yet another config file format. Furthermore, as a consequence of providing format strings for every "module" (ipv6, wireless, …), we directly print the output and thus we needed to drop support for wmii. This allowed us to get rid of quite some complexity. Documentation about the new configuration file and options will follow. This commit is the beginning of what will be i3status v2.0.