diff options
| author | Frederic Peters <fpeters@entrouvert.com> | 2004-08-14 09:36:56 +0000 |
|---|---|---|
| committer | Frederic Peters <fpeters@entrouvert.com> | 2004-08-14 09:36:56 +0000 |
| commit | 0aa872cb315c4e5dab2d902daa0208ac8c44c06a (patch) | |
| tree | dbe814263cb523c51ee1ab3dab4d6f7d97bc6e3c | |
| parent | e6f7ff0416424afd865bc34f5fe63cb4c691b67b (diff) | |
%F is only defined in C99 and %T in the Single Unix Specification; use more
conservative "%Y-%m-%dT%H:%M:%SZ"
| -rw-r--r-- | lasso/xml/tools.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lasso/xml/tools.c b/lasso/xml/tools.c index 10adf845..e8f9b1ad 100644 --- a/lasso/xml/tools.c +++ b/lasso/xml/tools.c @@ -164,7 +164,7 @@ lasso_get_current_time() g_get_current_time(&time_val); tm = localtime(&(time_val.tv_sec)); - strftime((char *)ret, 21, "%FT%TZ", tm); + strftime((char *)ret, 21, "%Y-%m-%dT%H:%M:%SZ", tm); return (ret); } |
