summaryrefslogtreecommitdiff
path: root/devel/p5-Date-Calc
AgeCommit message (Collapse)AuthorFilesLines
2004-12-20since perl is now built with threads on most platforms, the perl archlibgrant1-1/+2
module directory has changed (eg. "darwin-2level" vs. "darwin-thread-multi-2level"). binary packages of perl modules need to be distinguishable between being built against threaded perl and unthreaded perl, so bump the PKGREVISION of all perl module packages and introduce BUILDLINK_RECOMMENDED for perl as perl>=5.8.5nb5 so the correct dependencies are registered and the binary packages are distinct. addresses PR pkg/28619 from H. Todd Fujinaka.
2004-11-03- Remove outdated patchadrianp2-15/+1
2004-11-03- Updated Date-Calc to 5.4adrianp2-5/+5
+ Added compiler directives for C++. + Removed "Carp::Clan" from the distribution (available separately). + Fixed bug in initialization of "Date::Calendar::Year" objects. + Added method "tags()" to "Date::Calendar" and "Date::Calendar::Year". + Fixed the formula for "Labor Day" in the U.S. to "1/Mon/Sep". + Added a new recipe to the "Date::Calc" documentation. + Added Romanian to the list of languages supported by "Date::Calc". + Changed the example script "calendar.cgi" to highlight the name which led to a given date being a holiday. + Fixed the Polish entries in "Date::Calc". + Added a few commemorative days to the Norwegian calendar profile. + Added "use bytes" to all Perl files to avoid problems on systems not using the standard locale "C". + Fixed test 5 of t/m005.t to (hopefully) work under other locales.
2004-04-25Bl3ify and enable pkgviews installation.minskim1-2/+4
2003-07-21COMMENT should start with a capital letter.martti1-2/+2
2003-07-17s/netbsd.org/NetBSD.org/grant1-2/+2
2003-06-02Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.jschauma1-2/+2
Should anybody feel like they could be the maintainer for any of thewe packages, please adjust.
2003-03-16Update p5-Date-Calc to 5.3 (old version no longer on CPAN)mjl2-5/+5
+ Simplified the error message handlers in "Calc.xs". + Changed the Polish profiles from ISO-Latin-2 to ISO-Latin-1. + Fixed the broken tests in "t/f034.t" and "t/m006.t". + Synchronized "Carp::Clan" and "ToolBox.h" with "Bit::Vector" 6.2. + Integrated modifications needed for MacOS / MacPerl. + Added new method "normalize()" (Date::Calc::Object). + Added a new test script "t/m011.t" for "normalize()". + Added a calendar profile for Mexico (Date::Calendar::Profiles). + Little additions to and corrections of the documentation (Date::Calc). + Added Polish (Date::Calc) and a calendar profile for Poland. + Added Hungarian (Date::Calc). + Added some more commemorative days to the profile of Brazil.
2002-10-20Use buildlink2. Use perl5/module.mk.seb1-6/+3
2001-11-26Update to 5.0, provided by Shell Hung in pkg/14694.wiz3-6/+25
More interesting changes since 4.3: Module "Date::Calc": + Added the following new functions: * check_time() * Delta_YMD() * Delta_YMDHMS() * Add_Delta_YM() * Add_Delta_YMDHMS() * Normalize_DHMS() * This_Year() * Gmtime() * Localtime() * Mktime() * Timezone() * Date_to_Time() * Time_to_Date() * Fixed_Window() * Moving_Window() * ISO_LC() * ISO_UC() + Added support for Norwegian. + Added support for Swedish. + Added support for Danish. + Added support for Finnish. + Changed the month names of some languages to lower case. + Changed the french "long" date format to a more popular form. + Fixed the broken parsing of special ISO-Latin-1 characters in Date::Calc (replaced <ctype.h> with better solution). - Locales wouldn't help here, because "Decode_Language()" must work with any locale setting. Moreover, setting a language in Date::Calc would also require to set the proper corresponding locale in the current environment, which may not be available on the current system. The new solution works independently of any locale and with ALL languages (in ISO-Latin-1). + Changed the function "Add_Delta_YMD()" to have a more intuitive, consistent and reversible behaviour. This might break existing code, though. (To get the old behaviour, use the new function "Add_Delta_YM()" plus "Add_Delta_Days()" thereafter instead.) + Added an optional boolean parameter "orthodox" to "Calendar()" for calendars starting with Sunday instead of Monday. + Changed the behaviour of the "Decode_Date_*()" set of functions: if the current year is available on the system, then a "moving window" strategy is applied to year numbers < 100; otherwise it defaults to the previous behaviour (see version 4.3 below). + Changed the "Week_of_Year()" function: In scalar context, it now returns just the week number. BEWARE, this is a DANGEROUS feature - see the manual page for why this is so! Module "Date::Calc::Object": + Added the module Date::Calc::Object, an object-oriented add-on to Date::Calc with overloaded operators. Modules "Date::Calendar[::(Year|Profiles)]": + Added the modules Date::Calendar, Date::Calendar::Year and Date::Calendar::Profiles, for calculations which need to take holidays into account (and for generating calendars).
2001-11-26Buildlinkify, in the sense that only the perl headers are found injlam1-3/+4
${PREFIX} -- everything else is pickup up from ${BUILDLINK_DIR}.
2001-11-01Move pkg/ files into package's toplevel directoryzuntum3-1/+1
2001-10-18SVR4 packages have a limit of 9 chars for a package name.veego1-1/+2
The automatic truncation in gensolpkg doesn't work for packages which have the same package name for the first 5-6 chars. e.g. amanda-server and amanda-client would be named amanda and amanda. Now, we add a SVR4_PKGNAME and use amacl for amanda-client and amase for amanda-server. All svr4 packages also have a vendor tag, so we have to reserve some chars for this tag, which is normaly 3 or 4 chars. Thats why we can only use 6 or 5 chars for SVR4_PKGNAME. I used 5 for all the packages, to give the vendor tag enough room. All p5-* packages and a few other packages have now a SVR4_PKGNAME.
2001-04-21Move to sha1 digests, and/or add distfile sizes.wiz1-2/+3
2001-04-17+ move the distfile digest/checksum value from files/md5 to distinfoagc1-1/+1
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-02-27Updated to p5-Date-Calc-4.3. Fixes PR 11612 by Damon Brodie.jtb2-4/+4
2001-02-16Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.wiz2-2/+2
2000-08-27Convert packages to use PERL5_PACKLIST (part 1). These were the easyjlam5-16/+5
ones to do, and each compiled and installed/de-installed apparently correctly. As a side effect of the dynamic PLIST, we no longer need to have separate -static and -shared PLISTs. It's now easier than ever to make a perl5 package for NetBSD :)
1999-12-28Import of p5-Date-Calc-4.2 - a perl5 date calculation module.simonb7-0/+47