weeks and ruby compatibility