Bug 30706: Fix space in check for dateformat preference