[krbdev.mit.edu #7458] SVN Commit

Tom Yu via RT rt-comment at krbdev.mit.edu
Sat Dec 22 12:47:13 EST 2012


Add more formats to krb5_timestamp_to_sfstring

krb5_timestamp_to_string() can produce ambiguous dates.  The final
fallback, "%d/%m/%Y %R", contains a European order date format that
can be confused with a US date format.  Add some additional strftime()
format strings, including locale-dependent formats and some ISO 8601
formats.  Remove the hardcoded strftime() format that had an ambiguous
date order.

https://github.com/krb5/krb5/commit/e8e34ead59b3e1fd28beb151c5e6efb47bc57bee
Author: Tom Yu <tlyu at mit.edu>
Commit: e8e34ead59b3e1fd28beb151c5e6efb47bc57bee
Branch: master
 src/lib/krb5/krb/str_conv.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)



More information about the krb5-bugs mailing list