[mythtv-commits] Ticket #8466: version 6.x of Date::Manip perl module breaks some compatibility with 5.x
MythTV
mythtv at cvs.mythtv.org
Sun May 16 18:34:07 UTC 2010
#8466: version 6.x of Date::Manip perl module breaks some compatibility with 5.x
---------------------------------------------+------------------------------
Reporter: Marc Randolph <mrand@…> | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: Plugin - MythWeather | Version: 0.23-fixes
Severity: medium | Mlocked: 0
---------------------------------------------+------------------------------
Mythbuntu (and Ubuntu in general) 10.04 picked up and distributed the 6.x
version of Date::Manip. A user has since noticed that MythWeather was
only updating once a day. I've traced this back to the author of the
version 6 of the Date::Manip perl module deciding to break compatibility
with previous versions: "today", "tomorrow", and "yesterday" now behave
differently (http://search.cpan.org/~sbeck/Date-
Manip-6.11/lib/Date/Manip/Changes5to6.pod#DATE_PARSING_AND_OPERATIONS).
The attached patch applies to both 0.23 and trunk, and replaces "today"
with "now". Using "now" is backwards compatible with 5.x, so backporting
should not affect existing installs.
There is one occurrence of tomorrow (used as "8am tomorrow"), but it seems
to work properly in both 5.x and 6.x
Also of possible interest:
http://search.cpan.org/~sbeck/Date-Manip/lib/Date/Manip/Problems.pod
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/8466>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list