2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-27 10:37:13 +00:00

GEOFANCY: fix regex

git-svn-id: https://svn.fhem.de/fhem/trunk@9057 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
jpawlowski 2015-08-10 18:26:30 +00:00
parent 4ccac6661b
commit d5566c0834

View File

@ -262,7 +262,7 @@ sub GEOFANCY_CGI() {
)
if ( defined( $webArgs->{date} )
&& $webArgs->{date} !~
m/(19|20)\d\d-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([0-2][0-3]):([0-5][0-9]):([0-5][0-9])Z/
m/(19|20)\d\d-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T(0[1-9]|1[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])Z/
);
# validate locName