nasa / MCT-Plugins

35 stars 29 forks source link

[Scenario] Standardize duration formatting #157

Closed VWoeltjen closed 10 years ago

VWoeltjen commented 10 years ago

Currently, duration formatter uses a strategy which drops seconds and/or days from the text output when they are zero. This simplifies human readability, but hinders machine readability.

Based on user feedback a standardized format of DD hh:mm:ss would be preferred, at least in the specific case of CSV output. This would make it easier for these durations to be utilized in spreadsheet software to calculate and visualize information of interest, such as power consumption.

VWoeltjen commented 10 years ago

Note that standardizing CSV output is the goal of this issue, but based on current implementation simplest approach would be to standardize this for Info View as well (CSV output is basically a dump from the info view)