Update
This commit is contained in:
parent
28f3612839
commit
de6a818147
1 changed files with 2 additions and 2 deletions
|
@ -52,9 +52,9 @@
|
|||
systemctl --user start get-theme-times.service
|
||||
fi
|
||||
echo "Getting dates:"
|
||||
SUNRISE=`date -d \`cat /tmp/wttr.sunrise\` +%s`
|
||||
SUNRISE=`cat /tmp/wttr.sunrise | date +%s`
|
||||
echo "Sunrise: $SUNRISE"
|
||||
SUNSET=`date -d \`cat /tmp/wttr.sunset\` +%s`
|
||||
SUNSET=`cat /tmp/wttr.sunset | date +%s`
|
||||
echo "Sunset: $SUNSET"
|
||||
CURRENT=`date +%s`
|
||||
echo "Current: $CURRENT"
|
||||
|
|
Loading…
Reference in a new issue