diff options
author | Vincent Sanders <vince@kyllikki.org> | 2016-09-09 08:44:54 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2016-09-10 23:05:24 +0100 |
commit | fa1af79e7ca9cd2e0923f21bb6fd7069cf827f12 (patch) | |
tree | 029ce687c77c68f7627227ab8424092835016494 /content/fetchers/file.c | |
parent | e0c3e929f50396b8598fdcdbd9a1d2aa35ed2162 (diff) | |
download | netsurf-fa1af79e7ca9cd2e0923f21bb6fd7069cf827f12.tar.gz netsurf-fa1af79e7ca9cd2e0923f21bb6fd7069cf827f12.tar.bz2 |
document file fetcher being locale dependant
Diffstat (limited to 'content/fetchers/file.c')
-rw-r--r-- | content/fetchers/file.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/content/fetchers/file.c b/content/fetchers/file.c index 04184d27a..6ffa63810 100644 --- a/content/fetchers/file.c +++ b/content/fetchers/file.c @@ -20,6 +20,8 @@ * \file * * file scheme URL handling. Based on the data fetcher by Rob Kendrick + * + * output dates and directory ordering are affected by the current locale */ #include "utils/config.h" @@ -536,7 +538,9 @@ process_dir_ent(struct fetch_file_context *ctx, datebuf[0] = 0; timebuf[0] = 0; } else { - /* Get date in output format */ + /* Get date in output format. a (day of week) and b + * (month) are both affected by the locale + */ if (strftime((char *)&datebuf, sizeof datebuf, "%a %d %b %Y", localtime(&ent_stat.st_mtime)) == 0) { datebuf[0] = '-'; |