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:
parent
c3e92b27b1
commit
9ba0601f5a
2 changed files with 12 additions and 72 deletions
|
|
@ -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:**
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue