UnixTime: remove `time` trigger.
This eliminates the conflict with the preferred W|A answer. Addresses #607.master
parent
a71a6132a9
commit
31e99b9370
|
@ -5,7 +5,7 @@ use DDG::Goodie;
|
|||
|
||||
use DateTime;
|
||||
|
||||
triggers startend => "unixtime", "time", "timestamp", "datetime", "epoch", "unix time", "unix timestamp", "unix time stamp", "unix epoch";
|
||||
triggers startend => "unixtime", "timestamp", "datetime", "epoch", "unix time", "unix timestamp", "unix time stamp", "unix epoch";
|
||||
|
||||
zci answer_type => "time_conversion";
|
||||
zci is_cached => 0;
|
||||
|
|
|
@ -21,6 +21,7 @@ ddg_goodie_test([qw(
|
|||
'epoch' => test_zci($now_re),
|
||||
'timestamp' => test_zci($now_re),
|
||||
'datetime' => test_zci($now_re),
|
||||
'time' => undef,
|
||||
);
|
||||
|
||||
done_testing;
|
||||
|
|
Loading…
Reference in New Issue