Dianne Skoll
d9bf902153
Put #ifdef guards around wide char code.
2025-09-10 17:56:32 -04:00
Dianne Skoll
53a12de2f9
Fix typo
2025-09-10 17:54:26 -04:00
Dianne Skoll
fe2b34da68
Avoid memory leak.
2025-09-10 17:54:06 -04:00
Dianne Skoll
7e70ffe7f5
Fix typo
2025-09-10 17:43:59 -04:00
Dianne Skoll
55975154b1
Add codepoint() and mbchar() functions.
2025-09-10 17:33:57 -04:00
Dianne Skoll
3c6191ba61
Add tests where index() does not find the needle.
2025-09-10 13:48:28 -04:00
Dianne Skoll
b00cf9c5b7
Remove some unnecessary assignments.
2025-09-10 13:48:18 -04:00
Dianne Skoll
a6838802ad
Use mbsubstr and mbstrlen.
2025-09-10 13:27:57 -04:00
Dianne Skoll
375576fcc5
Add better support for multi-byte character set.
...
The functions mbindex, mbstrlen and mbsubstr are just like
index, strlen and substr, but they use and return 1-based
character indexes rather than 1-based byte indexes.
2025-09-10 13:25:27 -04:00
Dianne Skoll
2c9087aa79
Update WHATSNEW and prep for 06.01.00 release.
06.01.00
2025-09-08 12:27:27 -04:00
Dianne Skoll
928f65ae47
Add a few more time zone tests.
2025-09-08 12:26:34 -04:00
Dianne Skoll
ed7b4f5ecc
Nicer output.
2025-09-06 21:17:36 -04:00
Dianne Skoll
9aad9401ea
Fix man page wording.
2025-09-06 18:15:47 -04:00
Dianne Skoll
4574b552b6
Update WHATSNEW.
06.01.00-BETA-1
2025-09-06 12:05:46 -04:00
Dianne Skoll
21e0940257
Add distro-beta target.
2025-09-06 12:02:20 -04:00
Dianne Skoll
7064893ff2
Reorder man page; add explanation of how omit interacts with time zone.
2025-09-06 11:08:34 -04:00
Dianne Skoll
f8781276e2
Clarify that OMITFUNC also sees dates in the TZ timezone.
2025-09-06 11:00:50 -04:00
Dianne Skoll
b02f61ea05
Make alignment.rem executable.
2025-09-05 18:33:59 -04:00
Dianne Skoll
60447d530d
Add a small example.
2025-09-05 18:32:05 -04:00
Dianne Skoll
2835176ad3
Make "make test" run all tests by default. Add individual test-basic and test-tz makefile targets.
2025-09-05 17:46:25 -04:00
Dianne Skoll
b0784feb1a
Bump version to 06.01.00.
2025-09-04 15:58:07 -04:00
Dianne Skoll
ef7021972e
Add trigimetz and trigeventstarttz functions.
2025-09-04 15:36:27 -04:00
Dianne Skoll
e449fcdfcf
Add tests for trigtz
2025-09-04 14:29:00 -04:00
Dianne Skoll
47a4456c20
Explicitly initialize LastTrigger.tz to NULL.
2025-09-04 14:26:35 -04:00
Dianne Skoll
e9ee7492f7
Check for setuid/setgid early.
2025-09-04 14:25:09 -04:00
Dianne Skoll
2baa0405f3
Document new JSON key pairs.
2025-09-04 13:54:34 -04:00
Dianne Skoll
3425530c1c
Add Makefile for running tests from tests/ with "make test"
2025-09-04 11:00:03 -04:00
Dianne Skoll
eeae3298ef
Nicer formatting.
2025-09-04 10:59:58 -04:00
Dianne Skoll
4237dc4a3f
Allow empty string to be used in tzconvert to designate system default time zone.
2025-09-04 10:09:46 -04:00
Dianne Skoll
faf8947dda
Properly cache stdin in interactive mode.
2025-09-04 00:15:21 -04:00
Dianne Skoll
41a3db3a37
Fix abort.
2025-09-03 23:14:58 -04:00
Dianne Skoll
f12bcf3fe6
Restructure test targets.
2025-09-03 22:36:46 -04:00
Dianne Skoll
f9261bb24f
Better target name
2025-09-03 19:35:28 -04:00
Dianne Skoll
2ff9aedba5
Add test.
2025-09-03 19:34:48 -04:00
Dianne Skoll
1b793eff2e
Hard-code datetimes so slight astronomical function variations don't mess up test.
2025-09-03 19:33:18 -04:00
Dianne Skoll
e4c41e0f45
More TZ tests.
2025-09-03 19:13:55 -04:00
Dianne Skoll
9ec1006804
Make an empty TZ (ie, TZ "") the same as no TZ.
2025-09-03 19:10:26 -04:00
Dianne Skoll
dd048c0557
Formatting.
2025-09-03 19:06:23 -04:00
Dianne Skoll
dce1f282f4
Improve Makefile.
2025-09-03 19:05:41 -04:00
Dianne Skoll
7120d07d84
Add testtz and test-all targets.
2025-09-03 19:03:59 -04:00
Dianne Skoll
127358db02
The official IANA name of UTC is "Universal".
2025-09-03 18:55:43 -04:00
Dianne Skoll
a89aaf18b6
Add another distclean target
2025-09-03 18:37:33 -04:00
Dianne Skoll
5734bd7524
Start adding TZ tests.
2025-09-03 18:36:13 -04:00
Dianne Skoll
dfabda7dee
add trigtz() function
2025-09-03 14:19:31 -04:00
Dianne Skoll
da146d7989
Always output time_in_tz in JSON when needed.
2025-09-03 14:08:56 -04:00
Dianne Skoll
e147925462
Make tests pass; update remind conf mode.
2025-09-03 13:58:09 -04:00
Dianne Skoll
703907c94d
Update JSON output.
2025-09-03 13:57:25 -04:00
Dianne Skoll
bcfee04cae
Handle another time zone edge case.
2025-09-03 13:21:16 -04:00
Dianne Skoll
5f9e71f9eb
More timezone fixification.
2025-09-03 13:05:54 -04:00
Dianne Skoll
272336226e
Add timezone support to evaltrig.
2025-09-03 12:42:59 -04:00