changelog: add v0.35.6 entry for !time timezone abbreviation removal
This commit is contained in:
parent
9ba0601f5a
commit
cce110f7f5
2 changed files with 9 additions and 1 deletions
|
|
@ -1,3 +1,11 @@
|
|||
2026.07.20 – Remove timezone abbreviation from !time response.
|
||||
|
||||
- `!time` now outputs date and time only (`YYYY-MM-DD HH:MM:SS`) without the timezone abbreviation, keeping IRC responses shorter and cleaner.
|
||||
- Removed 60 lines of dead timezone abbreviation-matching code from `tz_format()` (previously mapped 45 IANA timezone names to abbreviations like CEST, EDT, JST, etc.).
|
||||
- Updated README.md output format to reflect the change.
|
||||
- Added `tzdata` to README.md requirements as optional (without it, `!time` falls back to 45 built-in timezones).
|
||||
- Version bumped to 0.35.6.
|
||||
|
||||
2026.07.20 – Fix !time to work without tzdata.
|
||||
|
||||
- Rewrote `!time` to try the system `localtime_r()` first, then fall back to a built-in timezone table with 45 IANA zones and simplified DST rules when the system can't resolve timezones (e.g. no `tzdata` installed). This means `!time Australia/Sydney` now shows correct AEST/AEDT even on minimal systems.
|
||||
|
|
|
|||
2
zynk.c
2
zynk.c
|
|
@ -29,7 +29,7 @@ int asprintf(char **, const char *, ...);
|
|||
|
||||
/* ---- constants ---- */
|
||||
|
||||
#define VERSION "0.35.5"
|
||||
#define VERSION "0.35.6"
|
||||
#define DEFAULT_SERVER "irc.libera.chat"
|
||||
#define OPENCODE_BIN "/usr/bin/opencode"
|
||||
#define CLR_RESET "\033[0m"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue