IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 20 years ago

Closed 20 years ago

#762 closed enhancement (fixed)

The CELL.TIME keyword "BACKWARDS" should be replaced by "ISO"

Reported by: rhl@… Owned by: Paul Price
Priority: low Milestone:
Component: config Version: 0.10.0
Severity: minor Keywords:
Cc:

Description

This one just bit me. If your headers have standard ISO date strings (e.g. 1958-02-05)
then to read them correctly you have to specify CELL.TIME to be "BACKWARDS".

As this is the standard time format, having to say "BACKWARDS" is confusing.

This should be changed, or at least ISO should be acceptable. I have checked in a
patch to support either form, but didn't deprecate BACKWARDS. If not too late,
I'd rather change the code to make ISO order the default, and require an option
"USA" to accept MM-DD-YY.

Change History (2)

comment:1 by Paul Price, 20 years ago

Owner: changed from David.Robbins@… to Paul Price

comment:2 by Paul Price, 20 years ago

Resolution: fixed
Status: newclosed

Very good points.

ISO order is now the default (you don't need to define it; actually, you
shouldn't define it, or you'll get an error).
BACKWARDS is now defined for dd-mm-yyyy.
Added USA for mm-dd-yyyy.

Updated the code in CVS head. Beware --- this may break your camera formats.

Updated a single camera format configuration in our configuration tree
(config/gpc1/format_raw.config), which used ISO format (removed the entry
completely, since that is the default).

Note: See TracTickets for help on using tickets.