asanghi / fiscali

Fiscal Year Date Functions

Home Page:http://asanghi.github.com/fiscali

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docs are out of date

kennyb5000 opened this issue · comments

Under Using in your rails project it says:

Date.fiscal_zone = :india
Time.fiscal_zone = :india
or Date.start_month = 4

When setting it manually I had to use:
Date.fy_start_month=4

It may also be worth noting that you have to set it for each class Date, Time, and DateTime, so my initializer looks like:

Date.fy_start_month = 2
Time.fy_start_month = 2
DateTime.fy_start_month = 2

This should be fixed now!