зеркало из https://github.com/mozilla/pjs.git
The port to perl caused this to generate times several hours off (due to timezone follies).
This commit is contained in:
Родитель
d24347f48f
Коммит
3047adb17f
|
@ -95,7 +95,7 @@ sub ProcessOneFile {
|
|||
# OK, we're done. Write it out.
|
||||
if ($author && $datestr && $revision) {
|
||||
$datestr =~ s!^(\d+)/(\d+/\d+)!$2/$1!;
|
||||
$date = str2time($datestr);
|
||||
$date = str2time($datestr, "GMT");
|
||||
if ($date >= $::StartFrom) {
|
||||
AddToDatabase("C|$date|$author|$Repository|$filehead|$filetail|$revision||$branch|+$pluscount|-$minuscount", $desc);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче