summaryrefslogtreecommitdiff
path: root/bin/efa-m
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-11-16 10:43:15 +0100
committerDaniel Friesel <derf@finalrewind.org>2011-11-16 10:43:15 +0100
commitacd3e1adeca83d0409a9707cae6ab643c583b8d0 (patch)
tree4e78eb7a6e857ee8ae4694afe71cf2006acb7747 /bin/efa-m
parent6b8626fd76efa0c779c2a3d4944279ba7a4827df (diff)
Make date/time return real dates, add sched_date/sched_time, unicode fixes
Diffstat (limited to 'bin/efa-m')
-rwxr-xr-xbin/efa-m4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/efa-m b/bin/efa-m
index 8c2f982..a6b8bec 100755
--- a/bin/efa-m
+++ b/bin/efa-m
@@ -5,6 +5,8 @@ use 5.010;
our $VERSION = '0.02';
+binmode( STDOUT, ':encoding(utf-8)' );
+
use Getopt::Long qw(:config no_ignore_case);
use List::Util qw(max);
use Travel::Status::DE::VRR;
@@ -13,8 +15,6 @@ my ( $date, $time, $input_type );
my ( @grep_lines, @grep_platforms );
my @output;
-binmode( STDOUT, ':encoding(utf-8)' );
-
GetOptions(
'd|date=s' => \$date,
'h|help' => sub { show_help(0) },