| Summary: | [update] update textproc/p5-xmltv fix tv_grab_zz_sdjson | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Talal Al Dik <tad> | ||||
| Component: | Individual Port(s) | Assignee: | Thomas Zander <riggs> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Some People | CC: | riggs | ||||
| Priority: | --- | Keywords: | needs-qa, patch | ||||
| Version: | Latest | Flags: | riggs:
maintainer-feedback+
|
||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
Doesn't this patch make the grabber just blindly assume that the local time zone is UTC? When you start xmltv with setting the TZ environment variable, like e.g. env TZ=Antarctica/McMurdo <xmltv with your favourite parameters here> the module should work properly. Indeed, I didn't know about the TZ-env workaround. Also, I noticed that v1.45+ p5-DateTime is able to determine the "local" timezone unlike before. #!/usr/local/bin/perl -w use DateTime; my $dt_start = DateTime->today(time_zone => 'local'); print $dt_start; #works now I guess we can close this ticket at this point. |
Created attachment 189975 [details] diff -ruN ./textproc/p5-xmltv.old/ ./textproc/p5-xmltv/ The latest update to 5.70 introduced a new major update with tv_grab_zz_sdjson. Unfortunately tv_grab_zz_sdjson has a linuxism and is not compatible with FreeBSD because p5-DateTime does not now time_zone local. This update changes datetime time_zone to UTC.