Interesting, C4::Dates allows you to instantiate a Date with a day value
of 00. Not sure why you really want this behaviour but nowhere does it
actually document what this means. We assume that this is intended
behaviour as t/Dates.t actually confirms it. But there's no
documentation of what it does to a date. If you look at the output from
t/Dates.t creating a date with 0/1/1952 (I'm using dmy here) returns a
formatted version of 31/12/1951. i.e. ) has a "kind of -1" effect

Odd? Confused? Poor Interface?

C.

-- 
Colin Campbell
Chief Software Engineer,
PTFS Europe Limited
Content Management and Library Solutions
+44 (0) 845 557 5634 (phone)
+44 (0) 7759 633626  (mobile)
[email protected]
skype: colin_campbell2

http://www.ptfs-europe.com
_______________________________________________
Koha-devel mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to