EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #03494


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Re: Irstats2 : date range


Yes !

I changed :

"class="w8em format-y-m-d"

and

new EPJS_Stats_Placeholder( 'sd', 'YYYY/MM/DD' );
                new EPJS_Stats_Placeholder( 'ed', 'YYYY/MM/DD' );

 But I do not understand why. I never touched these settings ..

Merci !

jean-marie


Le 19/09/2014 13:12, John Salter a écrit :
Hi Jean-Marie,
Which version or IRStats are you using?

This is where the date picker is rendered from:
https://github.com/eprints/irstats2/blob/master/cfg/lang/en/phrases/irstats2.xml#L221
I think the class 'format-y-m-d' on the input should make the date picker format the date in that way...

Cheers,
John

-----Original Message-----
From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Jean-Marie Le Bechec
Sent: 18 September 2014 08:26
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Irstats2 : date range

Hi all,

Formatting the date in the popup dates is not good on my irstats2. It is 
of the following form: DD/ MM/YYYY instead of YYYY/MM/DD

where can I intervene to change this behavior?

Thanks,

Jean-Marie


-- 

***********************************************
Jean Marie Le Bechec
Service Commun de la Documentation
Responsable ingenierie documentaire
&
Direction du Systeme d'Information
Referent Etudes

Institut National Polytechnique de Toulouse
6 allee Emile Monso - bp 34038 -
31029 Toulouse cedex 4
Tel : 05 34 32 31 16
Mail : lebechec@inp-toulouse.fr
***********************************************