Fixed age display time
azbok - December 11, 2007 - 04:18
| Project: | Subversion |
| Version: | 5.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
This patch gets the date and time from the output of subversion and saves it for display. In the original code, $logEntry refers to an uninitialized variable. Hmm, these patches are building up, at some point in time I'll just post the complete updated files for convenience.
In subversion_ls_parser.php
Original
$time = $logEntry['data'];
list($time) = explode('.', $time);
$t = strtotime($time);New
list($date, $time, $microseconds) = split('[T.]', $this->data);
$t = strtotime("$date $time");
#1
#2
Automatically closed -- issue fixed for two weeks with no activity.