Skip Menu |

This queue is for tickets about the Date-Pcalc CPAN distribution.

Report information
The Basics
Id: 94687
Status: open
Priority: 0/
Queue: Date-Pcalc

People
Owner: Nobody in particular
Requestors: fsfs [...] debian.org
Cc: gregoa [...] cpan.org
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: [PATCH] POD error and typos
Date: Sun, 13 Apr 2014 16:42:07 +0200
To: bug-date-pcalc [...] rt.cpan.org
From: Florian Schlichting <fsfs [...] debian.org>
In Debian we are currently applying the attached patch to Date-Pcalc. We thought you might be interested in it, too. Description: fix a POD error and typos Author: Florian Schlichting <fsfs@debian.org> Thanks in advance, Florian Schlichting, Debian Perl Group

Message body is not shown because sender requested not to inline it.

Subject: Re: [rt.cpan.org #94687] [PATCH] POD error and typos
Date: Mon, 14 Apr 2014 14:51:29 +0200
To: "fsfs [...] debian.org via RT" <bug-Date-Pcalc [...] rt.cpan.org>
From: Steffen Beyer <sb [...] engelschall.com>
Hello fsfs@debian.org via RT, in a previous mail you wrote: Show quoted text
> Sun Apr 13 10:44:17 2014: Request 94687 was acted upon. > Transaction: Ticket created by fsfs@debian.org > Queue: Date-Pcalc > Subject: [PATCH] POD error and typos > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: fsfs@debian.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=94687 > > > > In Debian we are currently applying the attached patch to Date-Pcalc. > We thought you might be interested in it, too. > > Description: fix a POD error and typos
Thanks a lot!! :-) Show quoted text
> Author: Florian Schlichting <fsfs@debian.org> > > > Thanks in advance, > Florian Schlichting, Debian Perl Group
Thank you! Best regards, Steffen Show quoted text
> Description: fix a POD error and typos > Author: Florian Schlichting <fsfs@debian.org> > > --- a/Pcalc.pod > +++ b/Pcalc.pod > @@ -1,3 +1,4 @@ > +=encoding iso-8859-1 > > =head1 NAME > > --- a/Pcalendar.pod > +++ b/Pcalendar.pod > @@ -398,7 +398,7 @@ > which your profile contains "half" holidays, or when you add > or subtract fractions of a day. > > -Sometimes it is not possible to accomodate the requested number > +Sometimes it is not possible to accommodate the requested number > of work days, and a rest remains. > > This rest can currently only assume the value "0.0" (zero), > --- a/lib/Date/Pcalc/Object.pod > +++ b/lib/Date/Pcalc/Object.pod > @@ -483,7 +483,7 @@ > > Invalid Dates > > -Only "new()" allows to create objects containing possibly invalid > +Only "new()" allows one to create objects containing possibly invalid > dates (needed for reading in and evaluating user input, for example). > > =item * > --- a/lib/Date/Pcalendar/Profiles.pod > +++ b/lib/Date/Pcalendar/Profiles.pod > @@ -62,7 +62,7 @@ > responsible for parsing the calendar schemes contained > here in the Date::Pcalendar::Profiles module. > > -This method offers a "mini-language" which allows to > +This method offers a "mini-language" which allows one to > specify common date formulas, like for instance a simple > fixed date (in various different formats, e.g. american > or european), or things like "the second Sunday of May" > --- a/lib/Date/Pcalendar/Year.pod > +++ b/lib/Date/Pcalendar/Year.pod > @@ -345,7 +345,7 @@ > can be queried with the "labels()" and "search()" methods, > and appears when printing a calendar, for instance. > > -The character ":" (mnemonic: divided into two halfs) specifies > +The character ":" (mnemonic: divided into two halves) specifies > that the date in question is only a "half" holiday, i.e., you > only get half a day off instead of a full day. Some companies > have this sort of thing. C<:-)>
-- Steffen Beyer <sb@engelschall.com> http://www.engelschall.com/u/sb/whoami/ (Who am I) http://www.engelschall.com/u/sb/gallery/ (Fotos Brasil, USA, ...) http://www.engelschall.com/u/sb/download/ (Free Perl and C Software)
Here's an updated version of the patch we're applying in Debian. Cheers, gregor
Subject: pod_typos_error.patch
Description: fix a POD error and typos Bug: https://rt.cpan.org/Ticket/Display.html?id=94687 Forwarded: https://rt.cpan.org/Ticket/Display.html?id=94687 Author: Florian Schlichting <fsfs@debian.org> Reviewed-by: gregor herrmann <gregoa@debian.org> Last-Update: 2017-06-17 --- a/Pcalc.pod +++ b/Pcalc.pod @@ -1,3 +1,4 @@ +=encoding iso-8859-1 =head1 NAME @@ -1138,7 +1139,7 @@ one month is [1999,4,1]. (Which is also the reason why the "C<Add_Delta_YM()>" function -does not allow to add a days offset, because this would actually +does not allow one to add a days offset, because this would actually require TWO functions: One for adding the days offset BEFORE and one for adding it AFTER applying the year/month offsets.) --- a/Pcalendar.pod +++ b/Pcalendar.pod @@ -398,7 +398,7 @@ which your profile contains "half" holidays, or when you add or subtract fractions of a day. -Sometimes it is not possible to accomodate the requested number +Sometimes it is not possible to accommodate the requested number of work days, and a rest remains. This rest can currently only assume the value "0.0" (zero), --- a/lib/Date/Pcalc/Object.pod +++ b/lib/Date/Pcalc/Object.pod @@ -483,7 +483,7 @@ Invalid Dates -Only "new()" allows to create objects containing possibly invalid +Only "new()" allows one to create objects containing possibly invalid dates (needed for reading in and evaluating user input, for example). =item * @@ -1074,7 +1074,7 @@ dates subsequently printed by this module will automatically be in that language - provided that you use the built-in formats of this module, or that you pass the third parameter of the callback -funtion to the funtions of the "Date::Pcalc" module which accept it. +function to the functions of the "Date::Pcalc" module which accept it. However, this global language setting can be overridden for individual date (or delta) objects by using the B<OBJECT> method --- a/lib/Date/Pcalendar/Profiles.pod +++ b/lib/Date/Pcalendar/Profiles.pod @@ -62,7 +62,7 @@ responsible for parsing the calendar schemes contained here in the Date::Pcalendar::Profiles module. -This method offers a "mini-language" which allows to +This method offers a "mini-language" which allows one to specify common date formulas, like for instance a simple fixed date (in various different formats, e.g. american or european), or things like "the second Sunday of May" @@ -173,7 +173,7 @@ Sat Sun => Fri Mon Sun Mon => Mon Tue -This is left as an excercise to the inclined reader. C<:-)> +This is left as an exercise to the inclined reader. C<:-)> =item * --- a/lib/Date/Pcalendar/Year.pod +++ b/lib/Date/Pcalendar/Year.pod @@ -345,7 +345,7 @@ can be queried with the "labels()" and "search()" methods, and appears when printing a calendar, for instance. -The character ":" (mnemonic: divided into two halfs) specifies +The character ":" (mnemonic: divided into two halves) specifies that the date in question is only a "half" holiday, i.e., you only get half a day off instead of a full day. Some companies have this sort of thing. C<:-)>