Changeset 14590 for trunk/Ohana/src/imregister/photreg/output.c
- Timestamp:
- Aug 21, 2007, 2:10:20 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/imregister/photreg/output.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/imregister/photreg/output.c
r12332 r14590 99 99 100 100 /* add current date/time to header */ 101 str_to_time ("now", &tsecond);102 datestr = sec_to_date ((unsigned int) tsecond);101 ohana_str_to_time ("now", &tsecond); 102 datestr = ohana_sec_to_date ((unsigned int) tsecond); 103 103 gfits_modify (&header, "DATE", "%s", 1, datestr); 104 104 gfits_modify (&theader, "DATE", "%s", 1, datestr); … … 158 158 for (i = 0; i < Nkeep; i++) { 159 159 newdata = &photdata[index[i]]; 160 startstr = sec_to_date (newdata[0].tstart);161 stopstr = sec_to_date (newdata[0].tstop);160 startstr = ohana_sec_to_date (newdata[0].tstart); 161 stopstr = ohana_sec_to_date (newdata[0].tstop); 162 162 code = GetPhotcodeNamebyCode (newdata[0].photcode); 163 163 photsys = GetPhotcodeNamebyCode (newdata[0].refcode); … … 207 207 208 208 /* convert UNIX time to Elixir-style date string */ 209 timestr = sec_to_date (photdata[i].tstart);209 timestr = ohana_sec_to_date (photdata[i].tstart); 210 210 211 211 if (output.photcodenames) {
Note:
See TracChangeset
for help on using the changeset viewer.
