From b326336be432f985dab94bc698048d69361c242b Mon Sep 17 00:00:00 2001 From: Dylan Lloyd Date: Sun, 7 Apr 2013 20:45:52 -0400 Subject: [PATCH] added attribution and metadata to Hijri goodie --- lib/DDG/Goodie/Hijri.pm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/lib/DDG/Goodie/Hijri.pm b/lib/DDG/Goodie/Hijri.pm index 61b71dc1c..779826ae5 100644 --- a/lib/DDG/Goodie/Hijri.pm +++ b/lib/DDG/Goodie/Hijri.pm @@ -3,7 +3,15 @@ package DDG::Goodie::Hijri; use DDG::Goodie; use Date::Hijri; -zci answer_type => "date"; +zci answer_type => "conversion"; +primary_example_queries '22/8/2003 to the hijri calendar'; +secondary_example_queries '23/6/1424 to gregorian'; +description 'convert dates from the Gregorian calendar to the Hijri calendar and back'; +name 'Hijri'; +code_url 'https://github.com/duckduckgo/zeroclickinfo-goodies/blob/master/lib/DDG/Goodie/Hijri.pm'; +category 'dates'; +topics 'special_interest'; +attribution github => [ 'http://github.com/mattlehning', 'mattlehning' ]; triggers any => 'hijri', 'gregorian';