Project

General

Profile

Feature #2129

Render _time in human readable format

Added by Luke Murphey about 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
11/03/2017
Due date:
% Done:

100%


Associated revisions

Revision 473 (diff)
Added by lukemurphey about 7 years ago

Making the _time field in CSV files represented as a time field

Closes #2129

History

#1 Updated by Luke Murphey about 7 years ago

Might have to edit makeRowJSON() too to make sure the conversion back to the original integer is correct.

I think the best approach would be to make getColumnsMetadata() return meta-data for CSV files.

#2 Updated by Luke Murphey about 7 years ago

  • Status changed from New to In Progress

#3 Updated by Luke Murphey about 7 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100

#4 Updated by Luke Murphey about 7 years ago

  • Status changed from Closed to In Progress
  • % Done changed from 100 to 90

#5 Updated by Luke Murphey about 7 years ago

When trying to remove a column I get the following error:

cannot remove column with object data source or columns option specified

#6 Updated by Luke Murphey about 7 years ago

This couldn't be done with a custom renderer.

I don't know how to convert this back to a epoch time though. The default renderer can be made to show the time in a human readable format but converting it back is a little difficult.

doSaveLookup() saves the lookup and I could wrap the getData() function to convert the values.

#7 Updated by Luke Murphey about 7 years ago

Wrapping getData() works except that editing the cell causes it to convert to an integer.

#9 Updated by Anonymous about 7 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

Applied in changeset lookup-editor|r473.

Also available in: Atom PDF