summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2018-02-11 01:27:52 +0800
committerAllan McRae <allan@archlinux.org>2018-03-14 12:29:40 +1000
commite4e0add629f054c71f780d48e3934576c1f055d9 (patch)
tree7e84cea1f5e779bf4467c3e4f1a12e90c67ceded /scripts
parent03ce7cc4eb8713a38877a1823b310198a63b6f15 (diff)
downloadpacman-e4e0add629f054c71f780d48e3934576c1f055d9.tar.xz
makepkg: use localized date strings
Before this change, LC_TIME=zh_TW.UTF-8 makepkg has the following line: ==> Making package: foobar 1-1 (日 2月 11 01:13:42 CST 2018) With this patch, this line becomes: ==> Making package: foobar 1-1 (西元2018年02月11日 (週日) 01時13分57秒) The latter is more natural for a Chinese native speaker. Signed-off-by: Chih-Hsuan Yen <yan12125@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/makepkg.sh.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 63b6c3e1..5e3af337 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -1569,7 +1569,7 @@ if (( INFAKEROOT )); then
exit $E_OK
fi
-msg "$(gettext "Making package: %s")" "$pkgbase $basever ($(date))"
+msg "$(gettext "Making package: %s")" "$pkgbase $basever ($(date +%c))"
# if we are creating a source-only package, go no further
if (( SOURCEONLY )); then
@@ -1597,7 +1597,7 @@ if (( SOURCEONLY )); then
msg "$(gettext "Signing package...")"
create_signature "$SRCPKGDEST/${pkgbase}-${fullver}${SRCEXT}"
- msg "$(gettext "Source package created: %s")" "$pkgbase ($(date))"
+ msg "$(gettext "Source package created: %s")" "$pkgbase ($(date +%c))"
exit $E_OK
fi
@@ -1703,7 +1703,7 @@ if (( NOARCHIVE )); then
exit $E_OK
fi
-msg "$(gettext "Finished making: %s")" "$pkgbase $basever ($(date))"
+msg "$(gettext "Finished making: %s")" "$pkgbase $basever ($(date +%c))"
install_package && exit $E_OK || exit $E_INSTALL_FAILED