aboutsummaryrefslogtreecommitdiff
path: root/src/print_time.c
AgeCommit message (Collapse)AuthorFilesLines
2019-01-23Switch to autotools (#316)Michael Stapelberg1-0/+1
2018-11-15Corrections according to PR revieweplanet1-4/+5
2018-11-10Add timezone switcheplanet1-2/+12
2018-07-13able to print percentageFelix Buehler1-3/+4
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 printeplanet1-1/+1
2016-10-24Setting of custom locale in tztime configuration. (#168)Björn Lindström1-1/+10
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 Lyons1-3/+22
2015-03-23Pass the "instance" JSON property key for tztime blocksIngo Bürk1-1/+4
fixes #10
2015-03-16clang-format-3.5 -i **/*.[ch], update modelineMichael Stapelberg1-26/+26
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 Stapelberg1-2/+3
2013-02-10s/\<timezone\>/tz/ in order to not shadow the timezone var from time.hMichael Stapelberg1-9/+9
2013-02-10Add tztime module to support multiple different timezones.Emil Mikulic1-5/+32
2012-04-08add yajl compat codeMichael Stapelberg1-0/+1
2012-03-25Properly output JSON with libyajlMichael Stapelberg1-11/+8
2012-02-16Implement the i3bar JSON protocolMichael Stapelberg1-0/+6
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 Stapelberg1-6/+1
2010-06-19Do proper error handling in print_time()Axel Wagner1-0/+6
2009-10-11Breaks configfiles! Major refactoring of i3status, see belowMichael Stapelberg1-0/+13
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.