Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   UTC time, posted by Luca on Mon Jan 9 15:39:59 2017 
    icon2.gif   Re: UTC time, posted by Stefan Ritt on Mon Jan 9 17:18:15 2017 
       icon2.gif   Re: UTC time, posted by Luca on Mon Jan 9 17:26:37 2017 
          icon2.gif   Re: UTC time, posted by Luca on Thu Jan 12 02:35:02 2017 
          icon2.gif   Re: UTC time, posted by Stefan Ritt on Thu Jan 12 08:28:45 2017 
          icon2.gif   Re: UTC time, posted by Andreas Luedeke on Thu Jan 12 09:10:06 2017 
Message ID: 68546     Entry time: Thu Jan 12 09:10:06 2017     In reply to: 68541
Icon: Reply  Author: Andreas Luedeke  Author Email: andreas.luedeke@psi.ch 
Category: Question  OS: Linux  ELOG Version: ELOG V3.1.1-076 
Subject: Re: UTC time 

Hi Luca,

if you want to change all datetime properties to UTC time, then you'll just need to set the timezone on the server to UTC, before elogd is started.

Cheers, Andreas

Luca wrote:

Dear Steve,

thanks a lot. Sorry but I am not expert of elog. I "inherited" from a colleague and wanted to see if I can keep it alive but to do it I would need to move to UTC. Should this command affect the "INSERT CURRENT TIME/DATE" button? It does not seem to change.

Best

Luca

Stefan Ritt wrote:

How do you believe that you can preset a Submission item? Preset only works for attributes, so you have to define an attribute like "Submission UTC" or similar and preset this attribute with

Preset Submission UTC = $utcdate

Luca wrote:

Dear all,

I am trying to have the elog timestamp in UTC time instead of local time using the following config file but without success. Do you know what I am doing wrong?

Thanks

Luca

 

Theme = default
Comment = XENON1T LogBook 
Attributes = Subject, Author, Category, Type, Status
Locked Attributes = Author
Required Attributes = Category, Type
Preset Author = $long_name
Preset Submission = $utcdate
Options Category = General, CRY - Cryogenics, PUR - Purification, RSX- ReStoX, DST - Distillation Column, MUV - Muon Veto, TPC - Detector, WTR - Water Tank, RAD - Gas Purity, CAL - Calibration, SCT - Slow Control, SOP - Shiftoperation
Options Type = Software Installation, Hardware Installation, Failure/Problem, Configuration, Authorization, Other, Leak Check, xenon operation, Shared Resources, Log, Alarm Tests, Hardware test
Options Status = Info, Open - in progress, Closed - unsolved, Closed - solved, Other
Cell Style Status Info  = background-color:lightblue
Cell Style Status Closed - solved  = background-color:lightgreen
Cell Style Status Open - in progress  = background-color:yellow
Cell Style Status Closed - unsolved  = background-color:red
Extendable Options = Type
Page Title = ELOG - $subject
Reverse sort = 1
Quick filter = Date, Type, Category

 

 

 

ELOG V3.1.5-3fb85fa6