Looking at patch I do not understand, why we add
n += 4;
in case of 'y' ?
I would do:
case 'W':
+ case 'y':
n++;
...
+ case 'y': {
+ sqlite3_snprintf(3,&z[j],"%02d",x.Y % 100); j+=2;
+ break;
+ }
> See "2-digit year patch" here: http://sqlite.mobigroup.ru/wiki?name=patches
> I did write this becouse 2-digit year number is needed very often for me.
Hi *,
there is date-time formating function strftime(), which supports some
(not all) string formating parameters (like %d, %m, %Y)
There is %Y for 4-digit year.
Is possible add also %y for 2-digit year ? (like in strftime() in
standard C library)
If it is not a big problem (I hope, that isn't), I would be very
happy if it will be implemented.
(can I post somewhere bug report, feature request)
TIA
-Laco.
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users