Menu

#2 Teleman plugin date issue

open
nobody
None
5
2010-04-11
2010-04-11
Anonymous
No

Date of programmes that are after midnight are incorrect. The reason is regexp in line:
if $hour =~ /0[0-3]{1}:[0-9]{2}/;
that should be:
if $hour =~ /^[0-3]{1}:[0-9]{2}/;
as on teleman website single digit hours aren't preceeded by 0.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.