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

[EP-tech] show Localtime in the UI



Hi 2 all,

i have a repository running where the time of ?Status changed? (?staus_cahnged_hour? and ?status_changed_minute") is important and controlled. I noticed that the time being shown in listing is always the UTC, not the localtime.

i found in https://wiki.eprints.org/w/Time_field  this comment:

?- snip ---

Times are always stored in UTC and rendered in the local timezone.

In version 3.0 times must be input and searched in UTC. This is undesirable, but must systems do not require searching down to the hour. This may be addressed in a later version. (developers note: if this is an issue for you, drop us a line).

??- /snip ?--

Is there a default/configuration way to show the locatime in the Views and not the UTC?
maybe in the ender_short_date() /ender_date function()



regards,

Avi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20170725/26045bf5/attachment.html