Fix #1159: Enable TImeSelector only when needed
Merge pull request #1162 from geoadmin/fix_timeselector

Fix #1159: Enable TImeSelector only when needed