5
5
mirror of https://github.com/trueChristian/daily-light.git synced 2024-11-21 20:15:09 +00:00

Update today.sh

Adds Today's Date (full Name) to the json object
This commit is contained in:
eWɘyn 2023-04-08 23:32:39 +02:00 committed by GitHub
parent f0ef899f35
commit a6403aceb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -181,7 +181,7 @@ EVENING_JSON=$(processSection "${E_TIME_N}" "${DAILYLIGHT[$E_TIME_M]}" "${DAILYL
# Build the final JSON object
JSON='{}'
JSON="$(
jq -n --arg date_name "$DATE_NAME" \
jq -n --arg date_name "$TODAY_DATE" \
--arg date_key "$DATE_KEY" \
--argjson morning "$MORNING_JSON" \
--argjson evening "$EVENING_JSON" \