Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Zsh 2.6 and Y2K status



Ahem.

*** utils.c.old	Thu Jul  2 17:14:24 1998
--- utils.c	Thu Jul  2 17:14:39 1998
***************
*** 1370,1376 ****
  		*buf++ = '0' + tm->tm_sec % 10;
  		break;
  	    case 'y':
! 		*buf++ = '0' + tm->tm_year / 10;
  		*buf++ = '0' + tm->tm_year % 10;
  		break;
  #ifndef HAVE_STRFTIME
--- 1370,1376 ----
  		*buf++ = '0' + tm->tm_sec % 10;
  		break;
  	    case 'y':
! 		*buf++ = '0' + (tm->tm_year / 10) % 10;
  		*buf++ = '0' + tm->tm_year % 10;
  		break;
  #ifndef HAVE_STRFTIME



Messages sorted by: Reverse Date, Date, Thread, Author