add pi() to !calc, bump to 0.35.3
This commit is contained in:
parent
f6431b02a5
commit
db809715d2
2 changed files with 8 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2026.07.20 – Add pi() to !calc.
|
||||
|
||||
- Added `pi()` function support to `!calc`: bc -l does not define `pi()` on all systems, so `cmd_calc` now prepends a `pi()` definition before evaluating expressions. `!calc pi()`, `!calc pi()*2`, `!calc pi()^2` etc. all work.
|
||||
- Version bumped to 0.35.3.
|
||||
|
||||
2026.07.20 – Fix !time timezone conversion bug.
|
||||
|
||||
- Fixed `!time` command: `setenv("TZ",...) + localtime()` was not reliably converting to the requested timezone. Replaced with `TZ=... date` via `popen()`, which handles all IANA timezone names correctly (e.g. `!time Australia/Sydney` now shows 11:15 AEST instead of UTC).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue