Sign in Sign up
rubygems

shifty_week

Calculate dates based on a configurable first day of the week. If you want the first day of the week to be Wednesday and the current calendar Year-Month are 2009-10, DateTime#week_days will return an array of DateTime objects which when formatted with "%Y-%m-%d %a" look like ["2009-10-14 Wed", "2009-10-15 Thu", "2009-10-16 Fri", "2009-10-17 Sat", "2009-10-18 Sun", "2009-10-19 Mon", "2009-10-20 Tue"]

Activity

Latest release
16y ago
Total releases
2
Cadence
~daily
Last 12 months
0

Details

First release
Oct 19, 2009
Releases
Version Released
0.1.1 patch
0.1.0 initial