mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-23 20:12:31 +00:00
Remove windows support from getbirthday
This commit is contained in:
7
fetch
7
fetch
@@ -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"
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user