Remove windows support from getbirthday

This commit is contained in:
Dylan 2016-01-30 23:58:14 +11:00
parent 2f2e9d387a
commit e5caad6abb

7
fetch
View file

@ -1200,13 +1200,6 @@ getbirthday () {
date_cmd="$(date -j -f "%b %d %Y" "$birthday" "+%a %d %b %Y %l:%M %p")"
;;
"Windows")
birhday="$(wmic os get InstallDate)"
birthday=${birthday/InstallDate }
birthday=${birthday//[[:space:]]/ }
date_cmd="$(date -d"$birthday" "+%a %d %b %Y %l:%M %p")"
;;
*)
birthday="Unknown"
;;