GEOFANCY: fix regex, 2

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@9058 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
loredo
2015-08-10 18:32:31 +00:00
parent d12e358b1b
commit f9d6f67f3e

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