Browse Source

lib/output/terminal: changed date format (%m/%d/%y -> %Y-%m-%d)

user/chris/test/arm
Christian Wiese 12 years ago
parent
commit
3d8b50e1fe
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      lib/output/terminal

+ 5
- 5
lib/output/terminal

@ -1,8 +1,8 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: misc/output/terminal
# Copyright (C) 2006 The OpenSDE Project
# Filename: lib/output/terminal
# Copyright (C) 2006 - 2012 The OpenSDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
# More information can be found in the files COPYING and README.
@ -68,7 +68,7 @@ echo_error_terminal() {
# E.g. echo_pkg_deny $stagelevel $pkg "already failed"
#
echo_pkg_deny_terminal() {
date "+%n${term_color_error}== %D %T =[$1]=> Package $2 $3.${term_color_normal}"
date "+%n${term_color_error}== %F %T =[$1]=> Package $2 $3.${term_color_normal}"
}
# We start building a package.
@ -89,7 +89,7 @@ echo_pkg_start_terminal() {
# E.g. echo_pkg_finish $stagelevel $repository $pkg
#
echo_pkg_finish_terminal() {
date "+${term_color_header}== %D %T =[$1]=> Finished building package $3.${term_color_normal}"
date "+${term_color_header}== %F %T =[$1]=> Finished building package $3.${term_color_normal}"
}
# We aborted building a package.
@ -99,7 +99,7 @@ echo_pkg_finish_terminal() {
# E.g. echo_pkg_abort $stagelevel $repository $pkg
#
echo_pkg_abort_terminal() {
date "+${term_color_error}== %D %T =[$1]=> Aborted building package $3.${term_color_normal}"
date "+${term_color_error}== %F %T =[$1]=> Aborted building package $3.${term_color_normal}"
}
# Whenever the tail of error logs are printed, this function is used for

Loading…
Cancel
Save