[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What were the Emacs versions with dates limited to 1970 .. 2037 year
From: |
Eli Zaretskii |
Subject: |
Re: What were the Emacs versions with dates limited to 1970 .. 2037 year range? |
Date: |
Sun, 12 Jun 2022 12:22:48 +0300 |
> From: Ihor Radchenko <yantar92@gmail.com>
> Date: Sun, 12 Jun 2022 17:13:25 +0800
>
> Org mode currently supports an old workaround for 32-bit year range
> limitation:
>
> org-read-date-force-compatible-dates docstring:
>
> > Should date/time prompt force dates that are guaranteed to work in Emacs?
> >
> > Depending on the system Emacs is running on, certain dates cannot
> > be represented with the type used internally to represent time.
> > Dates between 1970-1-1 and 2038-1-1 can always be represented
> > correctly. Some systems allow for earlier dates, some for later,
> > some for both. One way to find out is to insert any date into an
> > Org buffer, putting the cursor on the year and hitting S-up and
> > S-down to test the range.
>
> The workaround has been introduced about 11 years ago.
>
> Could anyone tell if this issue is still present in Emacs 25 or newer or
> maybe on some OS?
Any 32-bit build of Emacs is potentially prone to this problem,
depending on what time-related APIs it is using. If time_t is a
32-bit type, this problem will still exist.
- What were the Emacs versions with dates limited to 1970 .. 2037 year range?, Ihor Radchenko, 2022/06/12
- Re: What were the Emacs versions with dates limited to 1970 .. 2037 year range?,
Eli Zaretskii <=
- Re: What were the Emacs versions with dates limited to 1970 .. 2037 year range?, Ihor Radchenko, 2022/06/12
- Re: What were the Emacs versions with dates limited to 1970 .. 2037 year range?, Eli Zaretskii, 2022/06/12
- Re: What were the Emacs versions with dates limited to 1970 .. 2037 year range?, Stefan Monnier, 2022/06/12
- Re: What were the Emacs versions with dates limited to 1970 .. 2037 year range?, Eli Zaretskii, 2022/06/12
- Re: What were the Emacs versions with dates limited to 1970 .. 2037 year range?, Po Lu, 2022/06/12
- Re: What were the Emacs versions with dates limited to 1970 .. 2037 year range?, Eli Zaretskii, 2022/06/12
- Re: What were the Emacs versions with dates limited to 1970 .. 2037 year range?, Stefan Kangas, 2022/06/13
- Re: What were the Emacs versions with dates limited to 1970 .. 2037 year range?, Eli Zaretskii, 2022/06/13
- Re: What were the Emacs versions with dates limited to 1970 .. 2037 year range?, Stefan Monnier, 2022/06/13
- Re: What were the Emacs versions with dates limited to 1970 .. 2037 year range?, Eli Zaretskii, 2022/06/13