1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85
|
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<:-)>
|