]> git.koha-community.org Git - koha.git/commit
FIX for Date calculation
authorpaul <paul@localhost.(none)>
Thu, 4 Oct 2007 05:16:39 +0000 (07:16 +0200)
committerJoshua Ferraro <jmf@liblime.com>
Thu, 11 Oct 2007 16:51:12 +0000 (11:51 -0500)
commita5bd2403218b5add150088ab525b1f00e50a0c12
treea71c8e5617418d6a7c0c03420a071830d841129c
parent16d0f61af96317072118e2f3f277c2aa818f1989
FIX for Date calculation

Rule :
- always format_date() before sending date to template
- always format_date_in_iso immediatly after reading a date coming from a parameter
- deal internally only with dates in iso

Note that :
- I could not test things related to issues stats due to the my DB -issues.issuedate not filled, see commit about 3.00.00.006
- acquisitions_stats does not work when you filter on date

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
31 files changed:
C4/NewsChannels.pm
C4/Serials.pm
acqui/histsearch.pl
circ/pendingreserves.pl
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/histsearch.tmpl
koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tmpl
koha-tmpl/intranet-tmpl/prog/en/modules/labels/search.tmpl
koha-tmpl/intranet-tmpl/prog/en/modules/reports/acquisitions_stats.tmpl
koha-tmpl/intranet-tmpl/prog/en/modules/reports/bor_issues_top.tmpl
koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_out.tmpl
koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_stats.tmpl
koha-tmpl/intranet-tmpl/prog/en/modules/reports/cat_issues_top.tmpl
koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_avg_stats.tmpl
koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_stats.tmpl
koha-tmpl/intranet-tmpl/prog/en/modules/serials/checkexpiration.tmpl
koha-tmpl/intranet-tmpl/prog/en/modules/tools/cleanborrowers.tmpl
koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tmpl
koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tmpl
koha-tmpl/intranet-tmpl/prog/fr/modules/labels/search.tmpl
labels/label-item-search.pl
reports/acquisitions_stats.pl
reports/bor_issues_top.pl
reports/borrowers_out.pl
reports/borrowers_stats.pl
reports/cat_issues_top.pl
reports/issues_avg_stats.pl
reports/issues_stats.pl
serials/checkexpiration.pl
tools/cleanborrowers.pl
tools/koha-news.pl
tools/viewlog.pl