Fixed bug #6 in the DateServiceProvider