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!

instalar:
=

Versões:

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

Donos:

Autores:

  • Scott Noel-Hemming

SHA 256 checksum:

2661d2a4f7b4d6004a3d87500fb8503e98eafbc0f7c5fd6966bbdb9653bc671b

Total de downloads 7.731

Desta versão 4.399

Licenças:

N/A

Versão Requerida do Ruby: Nenhum

Links: