On Mon, Sep 06, 1999 at 12:15:26PM +0200, Oscar Güell wrote:
> Hi,
> 
> I wish to know if lyx 0.10 and 0.12 are year 2000 compliant.
> Cany you answer it?

I don't konw the code, nor do I have any old source kicking around.  I
cannot think of any reason why LyX would even need date information,
much less store it anyplace.  If LyX would need a date, it would use
the underlying Unix time commands, which is robust until 2038.  So,
the answer would appear to be yes, they should be Y2K compliant.

If, however, you are really concerned, you can run a simple test to
see:

1) Pick a machine you have root access to.  A Linux box is good for
   this.
2) Run LyX.
3) Load the User's Guide.  Scroll around a bit, tweak things, edit
   stuff, add an equation.  Write down, in order, everything you do.
   Also note any bugs you may find.
4) Quit LyX.
5) Set the day, month and year to January 1, 2000, but leave the time
   alone.
   a) su root
         When prompted, enter the root password.
   b) Shut down the cron daemon and any other time-dependent daemons
      (like batch queues).  You'll be changing the date and time,
      which will wreak havoc on cron and other time-dependent daemons.
   c) date
         Make a note of the hour and minute listed.  You should also
         "man date" to learn how to use the date command.
   d) date 0101hhmm
         Where "hh" is the hour and "mm" is the minute you noted in
         the previous step.  Note that this is correct syntax on
         Linux.  Other OS' may use different syntax for setting the date.
   e) logout
         Do NOT run anything else as root!
6) Run LyX again.
7) Load the User's Guide again.  Repeat the same actions you performed
   in step 3.  Nothing different should happen.
8) With the User's Guide still loaded,
   a) Create a new file and put stuff in it.
   b) Save the file.
   c) Close the document.
   d) Re-open the file.  Make sure you have the same stuff in it as
      before.
9) Quit LyX
10) Reset the date to the current day, month, year, and time.
   a) su root
         When prompted, enter the root password.
   b) date MMDDhhmmYYYY
         Where "hh" is current hour, "mm" is the current minute, MM is
         the month, in two digits, DD is the current day, in two
         digits, and YYYY is the current year, in four digits.  Again,
         this syntax is correct only on Linux.
   c) Restart the cron daemon and any other time-dependent daemons you
      stopped in step 5b.
   d) logout
         Do NOT run anything else as root!


If everything ran A-OK, then your version of LyX is Y2K-compliant.

P.S.:  I ran this very test on my Linux box with LyX v1.0.1 and found
no problems.  So, according to my test, LyX v1.0.1 is Y2K-compliant.
As long as any date-dependent crap hasn't been added since then, all
subsequent versions are Y2K-compliant, too.

-- 
John Weiss

Reply via email to