commit 04c78042a4d24301e1b9889e67dd2fda5102f0d4 Author: Aaron LI <a...@aaronly.me> Date: Tue Nov 5 23:24:10 2019 +0800
calendar(1): Improve UTC offset and longitude handling Refactor the code that deals with the UTC offset into a separate function 'get_utcoffset()'. Meanwhile, allow the '-l' option to accept a float number instead of an integer only. This makes more sense. Summary of changes: usr.bin/calendar/calendar.1 | 10 +++---- usr.bin/calendar/calendar.c | 72 ++++++++++++++++++--------------------------- usr.bin/calendar/calendar.h | 2 +- 3 files changed, 34 insertions(+), 50 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/04c78042a4d24301e1b9889e67dd2fda5102f0d4 -- DragonFly BSD source repository