mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-22 15:58:50 -05:00
* Fix FS #3107- Use ISO date style
* Fix FS #5409- document that pacman.conf repo ordering is important Signed-off-by: Dan McGee <dpmcgee@gmail.com>
This commit is contained in:
parent
1def746ad5
commit
a5ad2b3f93
@ -21,7 +21,9 @@ HoldPkg = pacman glibc
|
|||||||
# - can be defined here or included from another file
|
# - can be defined here or included from another file
|
||||||
# - pacman will search repositories in the order defined here
|
# - pacman will search repositories in the order defined here
|
||||||
# - local/custom mirrors can be added here or in separate files
|
# - local/custom mirrors can be added here or in separate files
|
||||||
|
# - repositories listed first will take precedence when packages
|
||||||
|
# have identical names, regardless of version number
|
||||||
|
#
|
||||||
#[testing]
|
#[testing]
|
||||||
#Server = ftp://ftp.archlinux.org/testing/os/i686
|
#Server = ftp://ftp.archlinux.org/testing/os/i686
|
||||||
|
|
||||||
|
@ -357,10 +357,11 @@ int _alpm_logaction(unsigned short usesyslog, FILE *f, const char *str)
|
|||||||
t = time(NULL);
|
t = time(NULL);
|
||||||
tm = localtime(&t);
|
tm = localtime(&t);
|
||||||
|
|
||||||
fprintf(f, "[%02d/%02d/%02d %02d:%02d] %s\n",
|
/* Use ISO-8601 date format */
|
||||||
tm->tm_mon+1, tm->tm_mday, tm->tm_year-100,
|
fprintf(f, "[%04d-%02d-%02d %02d:%02d] %s\n",
|
||||||
tm->tm_hour, tm->tm_min,
|
tm->tm_year+1900, tm->tm_mon+1, tm->tm_mday,
|
||||||
str);
|
tm->tm_hour, tm->tm_min, str);
|
||||||
|
|
||||||
fflush(f);
|
fflush(f);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user