Amend the datecomponents test to make it pass on Ubuntu 14.04 (new Jenkins slaves).