Discussion:
unknown
1970-01-01 00:00:00 UTC
Permalink
Thanks.
Question
I trying to post data to selection to view data for a date, using the code
below, it seems to be not working as it should
my $r = $ua->post( $url, \%form, 'ucChannelDetail1$drpDays' => $dayToGrab);
Also tried, the following with no results
my $r = $ua->post( $url, \%form, name => $dayToGrab);
This choice is based on the following code on the site
<select name="ucChannelDetail1$drpDays" onchange="javascript:setTimeout('__doPostBack(\'ucChannelDetail1$drpDays\',\'\')', 0)" id="ucChannelDetail1_drpDays">
<option selected="selected" value="15/09/2011" day="15" month="9" year="2011">Today</option>
<option value="16/09/2011" day="16" month="9" year="2011">Tomorrow</option>
<option value="17/09/2011" day="17" month="9" year="2011">17/09/2011</option>
<option value="18/09/2011" day="18" month="9" year="2011">18/09/2011</option>
<option value="19/09/2011" day="19" month="9" year="2011">19/09/2011</option>
<option value="20/09/2011" day="20" month="9" year="2011">20/09/2011</option>
<option value="21/09/2011" day="21" month="9" year="2011">21/09/2011</option>
</select>
Hello Lester,
I got the xmltv:writer->write_programme to work, its is time sensitive,
as it relates to the start time presented. I had to change my start from
as 10:00 AM etc to start="20110915230500".
please be explicit about the time offset, too. It avoids many pitfals.
Your example of 23:05 is parsed as implicit UTC which is likely wrong.
I use the DateTime modules to convert localtime from "Europe/Berlin" to
UTC, it works quite well. You can convert it back into "UTC +1/2"
(whatever offsets are relevant to get local time) but that way you
automatically get the correct time when running shortly before the
switch and looking at programs around or after the switch.
For a simple example see dt_from_string() in _pt_meo.
(which reminds me that _pt_meo needs some error handling for local
times that are illegal. Like 02:30 at the day we switch winter to
summer time.)
Regards,
Karl
------------------------------------------------------------------------------
Doing More with Less: The Next Generation Virtual Desktop
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops? How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more
affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
_______________________________________________
xmltv-devel mailing list
https://lists.sourceforge.net/lists/listinfo/xmltv-devel
--bcaec5015fdd06f07304adc705be
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Loading...