http://qs321.pair.com?node_id=770714


in reply to Date::Indian module

This module is a huge mess. How bad is it? Even the name is wrong. It doesn't deal with "Indian dates" but a particular kind of luni-solar calendar which only one of the several traditionally used in India. And even then it only gives you the basic numbers you need to actually calculate the date. One of these days I will actually release DateTime::Calendar::Indic to CPAN and working with various traditional Indian calendars will be much easier. In the meantime, if you really want to use this module, you call the constructor like this:

my $date = Date::Indian->new( ymd => "YYYY-MM-DD", # month = 1-12 tz => 'HH:MM', # time offset from +Greenwich. Negative if West of Greenwich locn => 'HH:MMD HH:MMD', # longitude and latitude, D = + E or W for longitude and N or S for latitude );

--
જલધર