Correctly strip UTC offset.

Signed-off-by: Baptiste Millou <baptiste@smoothie-creative.com>