added metadata to DaysBetween.pm

master
Dylan Lloyd 2012-11-06 16:03:50 -05:00
parent 3a5cb91705
commit a8f464fb82
1 changed files with 10 additions and 0 deletions

View File

@ -10,6 +10,16 @@ triggers start => "days", "daysbetween", "days_between";
zci is_cached => 1;
zci answer_type => "days_between";
primary_example_queries 'days between 01/01/2000 01/01/2001';
secondary_example_queries 'days between 01/01/2000 01/01/2001 inclusive';
description 'calculate the number of days between two dates';
name 'DaysBetween';
code_url 'https://github.com/duckduckgo/zeroclickinfo-goodies/blob/master/lib/DDG/Goodie/DaysBetween.pm';
category 'calculations';
topics 'everyday_goodies';
attribution github => ['http://github.com/JetFault', 'JetFault'];
handle query_lc => sub {
s/^days(?:\s|_)*between//;