Webapp log timestamp

General Discussion

Webapp log timestamp

Postby ando1 » Thu Aug 28, 2014 12:29 am

I am in the EST timezone and noticed when looking at the events tab in webapp log they are displayed in UTC time (+4 hrs). The live tab however shows EDT time. Is there a way to have the events tab display EST time?


Andy
ando1
Junior Nut
Junior Nut
 
Posts: 23
Joined: Tue Aug 26, 2014 2:16 pm

Re: Webapp log timestamp

Postby kevin » Thu Aug 28, 2014 9:27 am

I have added this to our list to investigate and implement into the beta image if needed. At this time I don't have an answer but it will be looked into.

Thanks,
Kevin
Not an employee of the company. Just here to help and keep things clean.
kevin
Platinum Nut
Platinum Nut
 
Posts: 994
Joined: Fri Aug 16, 2013 10:10 am

Re: Webapp log timestamp

Postby kevin » Thu Aug 28, 2014 9:34 am

Silly question, but you did check the date and timezone on the pi itself and made sure it was correct?
Not an employee of the company. Just here to help and keep things clean.
kevin
Platinum Nut
Platinum Nut
 
Posts: 994
Joined: Fri Aug 16, 2013 10:10 am

Re: Webapp log timestamp

Postby kevin » Thu Aug 28, 2014 11:21 am

Just an update - this requires a code update to convert utc time to localtime and is in progress for the next dev release

I have this working properly now on my local workstation and have pushed a change to our git server so the next time that we release into dev on github this should be included.
Not an employee of the company. Just here to help and keep things clean.
kevin
Platinum Nut
Platinum Nut
 
Posts: 994
Joined: Fri Aug 16, 2013 10:10 am

Re: Webapp log timestamp

Postby ando1 » Sun Aug 31, 2014 5:15 pm

Thanks for the update Kevin. I was wondering how do I go about updating from the Git repo?
ando1
Junior Nut
Junior Nut
 
Posts: 23
Joined: Tue Aug 26, 2014 2:16 pm

Re: Webapp log timestamp

Postby kevin » Sun Aug 31, 2014 7:02 pm

When it's pushed to the master branch the webapp will tell you there is an update available and update your software automatically, however from the command line you can go to the webapp directory:

/opt/alarmdecoder-webapp

and do a 'git pull origin master'
Not an employee of the company. Just here to help and keep things clean.
kevin
Platinum Nut
Platinum Nut
 
Posts: 994
Joined: Fri Aug 16, 2013 10:10 am


Return to General

Who is online

Users browsing this forum: No registered users and 27 guests

cron