Skip to content
This repository has been archived by the owner on Apr 22, 2021. It is now read-only.

Commit

Permalink
Fix more time handling
Browse files Browse the repository at this point in the history
  • Loading branch information
mdom committed Mar 1, 2016
1 parent f77f346 commit 2562796
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/App/txtnix/Tweet.pm
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package App::txtnix::Tweet;
use Mojo::Base -base;
use Mojo::ByteStream 'b';
use Mojo::Date;
use POSIX ();

has [qw(source text)];
Expand Down
2 changes: 1 addition & 1 deletion t/run.t
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ like( $twtfile->slurp_utf8, qr/[\d:TZ-]+\tHello World/ );

$twtfile->spew('');
run( 'tweet', '--created-at', '2016-02-03T00:00:00Z', 'Hello World' );
is( $twtfile->slurp_utf8, "2016-02-03T00:00:00+0000\tHello World\n" );
is( $twtfile->slurp_utf8, "2016-02-03T00:00:00Z\tHello World\n" );

stdout_is(
sub { run( 'follow', 'bob', '/bob.txt' ) },
Expand Down

0 comments on commit 2562796

Please sign in to comment.