Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   RSS Feed Not Providing Time Stamps For datetime Attributes, posted by Kamen Nikolov on Fri May 8 00:18:12 2015 
    icon2.gif   Re: RSS Feed Not Providing Time Stamps For datetime Attributes, posted by Kamen Nikolov on Tue May 26 22:03:05 2015 
       icon2.gif   Re: RSS Feed Not Providing Time Stamps For datetime Attributes, posted by Andreas Luedeke on Wed May 27 10:50:41 2015 
       icon2.gif   Re: RSS Feed Not Providing Time Stamps For datetime Attributes, posted by Stefan Ritt on Tue Jun 9 13:22:25 2015 
Message ID: 67941     Entry time: Wed May 27 10:50:41 2015     In reply to: 67937
Icon: Reply  Author: Andreas Luedeke  Author Email: andreas.luedeke@psi.ch 
Category: Question  OS: Windows  ELOG Version: V2.9.0-239 
Subject: Re: RSS Feed Not Providing Time Stamps For datetime Attributes 
Hi Kamen,
I've just tried it for V3.1.0 (6ab0fd5) and the described behaviour is unchanged.
It is even worse if you don't specify the "RSS Title": datetime attributes are just displayed as seconds of the epoch then.
I think this is a feature of ELOG at the moment.
You'll either need to dig into the code yourself or wait for Stefan to fix it.
 
I have an idea for a quick workaround:
you can create new hidden attributes, that contains a copy of the datetime attribute as a string, set by the subst command. You could then use those string attribute in the "RSS Title": that should work.
 
Cheers
Andreas
Kamen Nikolov wrote:

Can anyone help? Do I need to do something different or could this possibly be a bug that is fixed in a newer version?

Thanks,

Kamen

Kamen Nikolov wrote:

Hello,

I am using the RSS feed feature of Elog (V2.9.0-2396). I have a couple of attributes of type "datetime" (Start Time and Stop Time). I don't have a "Time Format" statement, so just using the default format. I am passing the Start Time and Stop Time attributes to the RSS Title with $Start Time and $Stop Time, but when looking at the RSS title in IE11 browser, I only see the date and not the time. Is there any way I can see the time as well?

Additional info:

I'm also passing the creation time of the Elog with $entry time and this is displaying correctly (both date and time).

Please let me know if I am doing something incorrectly?

Thanks

 

 

ELOG V3.1.5-fe60aaf