Shorten windows cmd

This commit is contained in:
Dylan 2016-01-30 23:54:25 +11:00
parent dac7f5768f
commit 2f2e9d387a
1 changed files with 1 additions and 1 deletions

2
fetch
View File

@ -1201,7 +1201,7 @@ getbirthday () {
;;
"Windows")
birhday="$(cmd /K WMIC OS GET InstallDate)"
birhday="$(wmic os get InstallDate)"
birthday=${birthday/InstallDate }
birthday=${birthday//[[:space:]]/ }
date_cmd="$(date -d"$birthday" "+%a %d %b %Y %l:%M %p")"