On 7/13/22 14:31, Karl Berry wrote:
+Simple POSIX rules like this can also specify nonzero Greenwich offsets.
Nothing about this seems "simple" to me :).
I meant "simple" in comparison to the rules like
TZ="<-05>+5<-04>,M3.2.0/2,M11.1.0/2".
Fixed by installing the attached further patc
I installed the attached patch to Gnulib
Thanks.
+Simple POSIX rules like this can also specify nonzero Greenwich offsets.
Nothing about this seems "simple" to me :). Anyway.
+More-complex POSIX TZ strings can specify simple daylight saving
There shouldn't be a hyphen after "More
On 7/12/22 15:57, Karl Berry wrote:
$ TZ=UTC-4 date -d 'TZ="UTC" 2022-07-24 15:00'
This doesn't mean what you want, because TZ=UTC-4 means "My time zone is
abbreviated 'UTC', and it's four hours east of Greenwich" which is not a
useful setting.
You're not the first person to run afoul of P
Suppose I have a date in UTC, and I want to "convert" it to a given UTC
offset, say UTC-4. Based on the date --help msg and examples, etc., I
was under the impression that the idiom is
TZ= date -d 'TZ="" '
Thus, in my case:
$ TZ=UTC-4 date -d 'TZ="UTC" 2022-07-24 15:00'
The output is:
Sun Jul