Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon13.gif   Type date and conditional attributes, posted by Ralph Bearpark on Fri Mar 5 15:34:30 2004 
    icon14.gif   Re: Type date and conditional attributes, posted by Stefan Ritt on Sat Mar 6 12:47:34 2004 elog.gif
       icon14.gif   Re: Type date and conditional attributes, posted by Ralph Bearpark on Mon Mar 8 09:52:14 2004 
Message ID: 496     Entry time: Fri Mar 5 15:34:30 2004     Reply to this: 499
Icon: Disagree  Author: Ralph Bearpark  Author Email: elog@spampot.com 
Category: Bug report  OS: Linux  ELOG Version: 2.5.1 
Subject: Type date and conditional attributes 
BUG#1
Given:

Attributes = Category, Status, Started, Finished, Activity, Headline
Type Started = date
Type Finished = date
Options Status = 1-To Do{1}, 2-Opened{2}, 3-Closed{3}, 4-Suspended{4}
{2} Preset Started = $date
{3} Preset Finished = $date
{4} Preset Finished = $date

There seems to be no setting of Date format (or Time format?) that gives a
meaningful value to attributes Started or Finished.  Even "Date format = %s"
- which gives number of seconds since 1970 - gives bad results.

BUG#2
In single entry view, elog returns an unformatted date value for "Type =
date" attributes - even when it has been manually entered with the date picker.
ELOG V3.1.5-fe60aaf