Find a file
Thomas Hochstein 3634010808 Make GetTimePeriod() and others accept days.
GetTimePeriod() was written to take a month
('YYYY-MM') and work with that. Make it accept
not only a month, but also a day ('YYYY-MM-DD')
by adding a $TYpe modifier.

Rename LastMonth() to LastMonthDay() and rewrite
it accordingly.

Rename CheckMonth() to CheckPeriod() and rewrite
it accordingly.

As GetTimePeriod() defaults to 'month' if no
modifier is passed this change should be backwards
compatible.

Signed-off-by: Thomas Hochstein <thh@inter.net>
2013-09-03 22:44:36 +02:00
bin Merge branch 'thh-bug51' into next 2013-09-03 22:25:23 +02:00
doc Release 0.01 2013-09-02 13:14:33 +02:00
etc Redo directory structure. 2013-09-03 10:01:16 +02:00
install Make configuration file configurable. 2013-09-03 10:01:20 +02:00
lib Make GetTimePeriod() and others accept days. 2013-09-03 22:44:36 +02:00
.gitattributes Introduce end-of-line normalization and add .gitattributes. 2010-09-18 20:53:31 +02:00
.gitignore Redo directory structure. 2013-09-03 10:01:16 +02:00