ruby date_time period article