зеркало из https://github.com/mozilla/pjs.git
Fix for bug 71607: remove "month-day only" date format from bug list views.
Patch by Stephan Niemz <st.n@gmx.net> r= justdave
This commit is contained in:
Родитель
69c011b348
Коммит
453d6facb0
|
@ -20,6 +20,7 @@
|
||||||
#
|
#
|
||||||
# Contributor(s): Terry Weissman <terry@mozilla.org>
|
# Contributor(s): Terry Weissman <terry@mozilla.org>
|
||||||
# Dan Mosedale <dmose@mozilla.org>
|
# Dan Mosedale <dmose@mozilla.org>
|
||||||
|
# Stephan Niemz <st.n@gmx.net>
|
||||||
|
|
||||||
use diagnostics;
|
use diagnostics;
|
||||||
use strict;
|
use strict;
|
||||||
|
@ -1207,8 +1208,6 @@ while (@row = FetchSQLData()) {
|
||||||
$value= sprintf "%02d:%02d:%02d", $h,$m,$s;
|
$value= sprintf "%02d:%02d:%02d", $h,$m,$s;
|
||||||
}elsif( $age < 6*24*60*60 ) {
|
}elsif( $age < 6*24*60*60 ) {
|
||||||
$value= sprintf "%s %02d:%02d", $weekday[$wd],$h,$m;
|
$value= sprintf "%s %02d:%02d", $weekday[$wd],$h,$m;
|
||||||
}elsif( $age < 100*24*60*60 ) {
|
|
||||||
$value= sprintf "%02d-%02d", $mo+1,$d;
|
|
||||||
}else {
|
}else {
|
||||||
$value= sprintf "%04d-%02d-%02d", 1900+$y,$mo+1,$d;
|
$value= sprintf "%04d-%02d-%02d", 1900+$y,$mo+1,$d;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче