[LyX/master] Improve LaTeX version checking

Jean-Marc Lasgouttes lasgouttes at lyx.org
Tue Jan 10 16:28:30 UTC 2023


Le 10/01/2023 à 17:26, Jürgen Spitzmüller a écrit :
> Am Sonntag, dem 08.01.2023 um 19:49 +0100 schrieb Jean-Marc Lasgouttes:
>> Is there a reason why we need that instead of comparing dates as
>> string?
>> Something like
>>          if (package_date >= "2015/09/01") {
>>                  [...]
> 
> How would "comparing dates as strings" work? Wouldn't we need to
> decompose the date anyway?

Am I wrong that
"2015/10/01" >= "2014/06/01"
?

I may be missing something obvious.

JMarc


More information about the lyx-devel mailing list