Birthday: Remove 'date' usage and calclulate date manually

This commit is contained in:
Dylan Araps
2016-12-16 11:20:10 +11:00
parent 09de2155f7
commit 6698463df6
2 changed files with 59 additions and 56 deletions

View File

@@ -292,40 +292,6 @@ public_ip_host="http://ident.me"
song_shorthand="off"
# Birthday
# Shorten the output of the Birthday functon.
#
# Default: 'off'
# Values: 'on', 'off'
# Flag: --birthday_shorthand
# Supports: 'off' doesn't work on OpenBSD and NetBSD.
#
# Example:
# on: 'Thu 14 Apr 2016 11:50 PM'
# off: '2016-04-14 23:50:55'
birthday_shorthand="off"
# Whether to show the time in the output
#
# Default: 'on'
# Values: 'on', 'off'
# Flag: --birthday_time
#
# Example:
# on: 'Thu 14 Apr 2016 11:50 PM'
# off: 'Thu 14 Apr 2016'
birthday_time="on"
# Date format to use when printing birthday
#
# Default: '+%a %d %b %Y %l:%M %p'
# Values: 'date format'
# Flag: --birthday_format
birthday_format="+%a %d %b %Y %l:%M %p"
# Text Colors