Handle UTC-offset bug on Qt 5.0 (and possibly 5.1?)