fix ruby linux datetime precision bug