2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-15 22:26:04 +00:00

GEOFANCY: fix regex, 2

git-svn-id: https://svn.fhem.de/fhem/trunk@9058 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
jpawlowski 2015-08-10 18:32:31 +00:00
parent d5566c0834
commit 872c17f47a

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[1-9]|1[0-9]|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][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])Z/
);
# validate locName