[krbdev.mit.edu #7458] SVN Commit

Tom Yu via RT rt-comment at krbdev.mit.edu
Thu Jan 31 16:16:16 EST 2013


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.

(cherry picked from commit e8e34ead59b3e1fd28beb151c5e6efb47bc57bee)

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



More information about the krb5-bugs mailing list