Skip to content

Commit

Permalink
bugfix for handling other time zones
Browse files Browse the repository at this point in the history
  • Loading branch information
mjpost committed Aug 17, 2017
1 parent b3e9755 commit 6cacd38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion philog
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ elsif ($curdir) {
exit 0;
}
while(<LOG>) {
/^(... ... .. ..:..:.. ..T 20..) (\S+) (.+)$/;
/^(... ... .. ..:..:.. ....? 20..) (\S+) (.+)$/;
my ($time,$dir,$cmd) = ($1,$2,$3);
if ($pretty) {
print "\e[32m$time ".($cmd=~/^[\#\^]/?"\e[30;1m":"\e[m").$cmd."\e[m\n";
Expand Down

0 comments on commit 6cacd38

Please sign in to comment.