RubyGems Navigation menu

shifty_week 0.1.1

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"]

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.1.1 - October 20, 2009 (10 KB)
  2. 0.1.0 - October 19, 2009 (10 KB)

Owners:

Authors:

  • Scott Noel-Hemming

SHA 256 checksum:

2661d2a4f7b4d6004a3d87500fb8503e98eafbc0f7c5fd6966bbdb9653bc671b

Total downloads 7,731

For this version 4,399

Licenses:

N/A

Required Ruby Version: None

Links: