Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 232 of 808  Not logged in ELOG logo
    icon2.gif   Re: calculate diff of 2 date(s), posted by Alex Kühnel on Fri Sep 30 11:21:44 2016 
I found the solution in the forum :-)

subst Einsatzzeit = $shell(/usr/local/elog/diff.sh \"$Einsatzbeginn\" \"$Einsatzende\")

and diff.sh is
    icon2.gif   Re: calculate diff of 2 date(s), posted by Alex Kühnel on Fri Sep 30 11:25:08 2016 
is ist possible that subst only works for the initial create of a logbook entry? when I change/edit one of the parameter "Einsatzbegin"
or "Einsatzende" the "Einsatzzeit" is not changed.

regards
    icon2.gif   Re: calculate diff of 2 date(s), posted by Stefan Ritt on Fri Sep 30 12:33:38 2016 
There is the "subst on edit = ..." option you should use in addition.

Stefan




Alex
    icon2.gif   Re: calculate diff of 2 date(s), posted by Alex Kühnel on Mon Oct 3 10:01:53 2016 
thx!




Stefan
Ritt wrote:



There is the "subst on edit = ..." option you should use in
    icon4.gif   Re: calculate diff of 2 date(s), posted by sohail bhatti on Mon Feb 6 15:59:04 2017 




Alex Kühnel wrote:

thx!




Stefan
    icon2.gif   Re: bug in elog.spec, posted by Laurent Jean-Rigaud on Mon Jul 6 20:19:21 2020 elog.specelog-3.1.4-2.CNES.el6.src.rpm
Hi,

You rights, CFLAGS should not be in specfile to take care of distrib env.

Btw, I sent in the past an update for build process of Stefan delivery to generate src.rpm file copatible to tarball version. I think Stefan
    icon2.gif   Re: bug in elog.spec, posted by Janusz Szuba on Tue Jul 7 11:22:45 2020 
Thanks for the answer, I will try with your specfile

best

Janusz
    icon2.gif   Re: bug in cfg file, posted by Etienne Van Caillie on Fri May 23 09:12:16 2003 
> Hello Folks,

> Found an interesting problem with 2.3.7 under redhat 9.0 linux.
ELOG V3.1.5-3fb85fa6