2
0
Fork 0
forked from zynk/zynk

feat: remove timezone abbreviation from !time response

The !time command now outputs only date and time (YYYY-MM-DD HH:MM:SS)
without the timezone abbreviation. This keeps responses shorter and
cleaner in IRC. Removed the dead abbreviation-matching code from
tz_format() which previously mapped 45 IANA timezone names to their
respective abbreviations (CEST, EDT, JST, etc.). Updated README to
reflect the new output format.
This commit is contained in:
Johannes Findeisen 2026-07-20 06:59:46 +02:00
commit 9ba0601f5a
2 changed files with 12 additions and 72 deletions

View file

@ -112,7 +112,7 @@ make CC=clang CFLAGS="-O2 -Wall -Wextra"
Shows the current date and time. Without arguments, displays the bot's local time. With a timezone argument, displays the time in that timezone using POSIX `TZ` format.
**Output format:** `YYYY-MM-DD HH:MM:SS TZ`
**Output format:** `YYYY-MM-DD HH:MM:SS`
**Examples:**