LacaK wrote:
> some month ago I wrote question about possibility to add support of %y
> (2 digit year) to strftime() function.
> Patch is very simple (only few lines of code) and I hope, that will be
> useful for many users.

Two-digit years happend about two thousand years ago, and at that time,
nobody used the Gregorian calendar.

Seriously, what your patch is actually about is to extract the last two
digits out of a four-digit year.  Apart from all the obvious Y2K
problems, there already is a function for that: it's called substr().

Please note that none of the current strftime() substitutions throw away
data; they all generate output long enough for the largest possible
value.


Regards,
Clemens
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to