Andreas Schwab wrote:
> This will fail during the day after a DST transition.
Which points out a terrible bug in my suggestion of how to map the
range of 0-(N-1) to the range of 1-N!
Bob wrote this buggy code:
>> case $secondssincedaystart in (0) secondssincedaystart=86400 ;; esac
That will obviously fail miserably at midnight on the day after a dst
change. Another reason not to do it!
Bob