On 23/07/2025 04:58, Collin Funk wrote:
Collin Funk writes:
thanks for working on this
No problem, thanks to you and Berny for checking. I'll write tests for
the other two locales tomorrow.
Done, two patches attached. I'll push them tomorrow unless there is any
issues. I ran 'make syntax-c
Collin Funk writes:
>> thanks for working on this
>
> No problem, thanks to you and Berny for checking. I'll write tests for
> the other two locales tomorrow.
Done, two patches attached. I'll push them tomorrow unless there is any
issues. I ran 'make syntax-check' this time, so hopefully not. :)
for checking. I'll write tests for
the other two locales tomorrow.
Collin
>From 5ab05e5a36a45f6efe0118eb115746830cc1859c Mon Sep 17 00:00:00 2001
Message-ID: <5ab05e5a36a45f6efe0118eb115746830cc1859c.1753158930.git.collin.fu...@gmail.com>
From: Collin Funk
Date: Thu, 17 Jul 2025 1
On 18/07/2025 04:03, Collin Funk wrote:
Hi,
I've attached a basic test I wrote for the Thai solar calendar using
th_TH.UTF-8 based on the properties that Bruno described [1].
One thing I was unsure of was whether we have to check if the locale is
supported before using it. In other tests I see
On 19/07/2025 13:16, Bernhard Voelker wrote:
Hi Collin,
On 7/18/25 05:03, Collin Funk wrote:
I've attached a basic test I wrote for the Thai solar calendar using
th_TH.UTF-8 based on the properties that Bruno described [1].
> +# Current year in the Gregorian calendar.
> +current_year=$(LC
Hi Berny,
Bernhard Voelker writes:
> That is 2x bash syntax, and at least the == is flagged by:
>
> maint.mk: use "test x = x", not "test x == x"
> make: *** [maint.mk:1218: sc_prohibit_test_double_equal] Error 1
Oops, right.
> Better use expr(1) instead of $(( )).
I assumed $(( )) was fi
Hi Collin,
On 7/18/25 05:03, Collin Funk wrote:
I've attached a basic test I wrote for the Thai solar calendar using
th_TH.UTF-8 based on the properties that Bruno described [1].
> +# Current year in the Gregorian calendar.
> +current_year=$(LC_ALL=C date +%Y)
> +
> +export LC_ALL=th_TH.UTF-8
52807269.git.collin.fu...@gmail.com>
From: Collin Funk
Date: Thu, 17 Jul 2025 19:42:30 -0700
Subject: [PATCH] date: add tests for the Thai solar calendar
* tests/date/date-thailand.sh: New file.
* tests/local.mk (all_tests): Add test.
---
tests/date/date-thailand.sh | 36