zhangjingyu
echo "$jq3[0]";
echo "$jq3[1]";
echo "days $days";
echo "day $day";
echo "next $next";
echo "tdtime $tdtime";
echo "$Y-$Y1-$Y2-$Y3";
输出:
days -19
day 3
next 2024-12- 3:10
tdtime 1734537600
2024-12-1219-19(获取今天相关信息没问题)
$jq3[0]和$jq3[1]没有结果,看来应该是读取节气文档的代码出问题了。