Added Windows support to getbirthday

This commit is contained in:
Dylan 2016-01-31 11:10:13 +11:00
parent 5b16820363
commit c044bd788c

5
fetch
View file

@ -1225,6 +1225,11 @@ getbirthday () {
esac
;;
"Windows")
birthday="$(ls -alct --full-time /cygdrive/c/Windows/explorer.exe | awk '{printf $8 " " $9}')"
date_cmd="$(date -d"$birthday" "+%a %d %b %Y %l:%M %p")"
;;
*)
birthday="Unknown"
;;