ChatGPT giving manual instructions for converting UTC to local time. This does not work correctly with DST.
https://social.scriptjunkie.us/system/media_attachments/files/113/981/944/776/890/358/original/8c4c13909336f86f.png
Creating a complicated bash script with simple prompts? Easy for AI.
Schedule it to run at 1200 UTC each day? Every AI failed.
Grok, Copilot, ChatGPT, Claude all scheduled it to run local time. ChatGPT at least mentioned it assumed your system was using UTC.
Further prompting in most told me to set the TZ variable, which does not work, as it only affects the script's interpretation of time after it starts, not cron's interpretation of time.
Most also eventually gave an option for converting local time to UTC, but this will fail on DST. Claude converted local time to UTC but then never used the local time.
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.