[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] Re: Date time on eprints



I don't think the issue will impact datestamp fields (or anything where a full 4-digit year is stored).
A short-form year ('40', not '1940') will be interpreted relative to 'now' - so rendering a two-digit year isn't stable.
 
>From http://perldoc.perl.org/Time/Local.html#Year-Value-Interpretation,
"Years in the range 0..99 are interpreted as shorthand for years in the rolling "current century," defined as 50 years on either side of the current year. Thus, today, in 1999, 0 would refer to 2000, and 45 to 2045, but 55 would refer to 1955. Twenty years from now, 55 would instead refer to 2055. This is messy, but matches the way people currently think about two digit dates. Whenever possible, use an absolute four digit year instead."

As long as we heed the 'use a four digit year' rule, we should be OK!

Cheers,
John

-----Original Message-----
From: eprints-tech-bounces at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Nault, Pierre
Sent: 10 October 2014 14:20
To: 'eprints-tech at ecs.soton.ac.uk'
Subject: [EP-tech] Re: Date time on eprints

Hi John,

We have made the change to the code and are presently testing it. Not sure that I understand the misbehavior that jploski made on the 4 of February thought. But we will monitor the thing as we deploy it.

Thanks for your help,

Pierre 




-----Message d'origine-----
De?: eprints-tech-bounces at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] De la part de John Salter
Envoy??: 8 octobre 2014 11:57
??: 'eprints-tech at ecs.soton.ac.uk'
Objet?: [EP-tech] Re: Date time on eprints

Hi,
See: https://github.com/eprints/eprints/issues/194 and https://github.com/eprints/eprints/issues/174
There's a proposed patch, but not an official resolution (as far as I can see. There are some other issues documented in that thread). 

Cheers,
John


-----Original Message-----
From: eprints-tech-bounces at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of cmdt-news at cmdt.ch
Sent: 08 October 2014 06:08
To: eprints-tech at ecs.soton.ac.uk
Subject: [EP-tech] Re: Date time on eprints

hi pierre
this was also addressed in http://www.eprints.org/tech.php/18356.html
as i remember there should be done some improvements in the code!
thanks



On 07.10.2014 22:46, Nault, Pierre wrote:
> Hi all,
>
> 	I'm reactivating this question. I don't see any response on this. We are in our final stage of our migration and we have this annoying problem : when creating a new eprint, the date/time is UTC (4 hours ahead of our local time). Our system time is correct so there must be a setting somewhere stuck on UTC.
>
> 	Any help on this would be much appreciated.
>
> Thanks,
>
>
>
> #---------------------------------------------#
> Pierre Nault
> Biblioth?caire syst?mes aux Technologies de l'information Service des 
> biblioth?ques Universit? du Qu?bec ? Montr?al T?l : 514-987-3000 #4554
>
>
>
>
> -----Message d'origine-----
> De : eprints-tech-bounces at ecs.soton.ac.uk 
> [mailto:eprints-tech-bounces at ecs.soton.ac.uk] De la part de Betsy 
> Coles Envoy? : 9 mai 2014 10:41 ? : eprints-tech at ecs.soton.ac.uk Objet 
> : [EP-tech] Re: Date time on eprints
>
> We have noticed this as well.  Our system time is correct local time, but the deposit date/time is always UTC (in our case, 8 hours ahead of local time).  Is there a way to fix this?
>
> Thanks,
> Betsy Coles
> Caltech Library
> bcoles at caltech.edu
>
> ________________________________________
> From: eprints-tech-bounces at ecs.soton.ac.uk 
> [eprints-tech-bounces at ecs.soton.ac.uk] on behalf of Ajunk Pracetio 
> [prazetyo at gmail.com]
> Sent: Thursday, May 08, 2014 3:10 PM
> To: eprints-tech at ecs.soton.ac.uk
> Subject: [EP-tech]  Date time on eprints
>
> Our deposit item date always different from out time. How I can change 
> the eprints date setting to +07.00 GMT? Because right now I think the 
> setting is UTC . CMIIW
>
> Thank you
> Best regards,
> Agung - STIKOM Library
>
>
> *** Options: 
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: http://www.eprints.org/tech.php/
> *** EPrints community wiki: http://wiki.eprints.org/
> *** EPrints developers Forum: http://forum.eprints.org/
>
> *** Options: 
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: http://www.eprints.org/tech.php/
> *** EPrints community wiki: http://wiki.eprints.org/
> *** EPrints developers Forum: http://forum.eprints.org/

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/