emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug#54764: encode-time: make DST and TIMEZONE fields of the list arg


From: Paul Eggert
Subject: Re: bug#54764: encode-time: make DST and TIMEZONE fields of the list argument optional ones
Date: Tue, 19 Apr 2022 15:22:29 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0

On 4/18/22 22:50, Eli Zaretskii wrote:
* admin/merge-gnulib (GNULIB_MODULES): Add gettime-res.
* lib/gettime-res.c: New file, copied from Gnulib.
* lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
Is this known to support MS-Windows correctly?

I haven't tested it on that platform, though I expect it to work since it relies only on current_timespec and Emacs already uses that.

I just now added some test cases to Gnulib for it; see the patch in the first attachment. You can try these tests in your environment by running './gnulib-tool --test gettime-res' in the Gnulib source directory. Or you can save time by running './configure; make check' in the directory represented by the second attachment, which is a compressed tarball containing the output of './gnulib-tool --create-testdir --dir test-gettime-res gettime-res'.

Attachment: 0001-gettime-res-add-tests.patch
Description: Text Data

Attachment: test-gettime-res.tgz
Description: application/compressed-tar


reply via email to

[Prev in Thread] Current Thread [Next in Thread]