another fix to date regexp
Merge branch 'master' into advanced