EPrints Technical Mailing List Archive
Message: #00522
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] EP3.2 bugfix: datetime search with seconds and OAI date granularity YYYY-MM-DDThh:mm:ssZ
- To: "EPrints.org Technical List" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] EP3.2 bugfix: datetime search with seconds and OAI date granularity YYYY-MM-DDThh:mm:ssZ
- From: Dennis - UT <dv.eprints@gmail.com>
- Date: Wed, 9 May 2012 09:34:36 +0200
Hi, A small bugfix for those still on EPrints 3.2. We found out that the OAI provider did not process from & until dates with hours/minutes/seconds properly even though it advertises support for it. This problem seemed to be solved in 3.3. A little code comparison showed a small difference in the file system/perl_lib/EPrints/Search/Condition/Comparison.pm. After copying this to 3.2, the problem was solved. So, to fix the problem go to system/perl_lib/EPrints/Search/Condition/Comparison.pm, on line 82, replace: if( $self->{field}->isa( "EPrints::MetaField::Date" ) && $nparts > 3 ) with: if( !$self->{field}->isa( "EPrints::MetaField::Date" ) && $nparts > 3 ) Dennis University of Twente
- Prev by Date: [EP-tech] 10_core.pl regeneration. HElP
- Next by Date: [EP-tech] Captcha plug-ins enquiry
- Previous by thread: [EP-tech] 10_core.pl regeneration. HElP
- Next by thread: [EP-tech] Captcha plug-ins enquiry
- Index(es):