mirror of
https://github.com/nasa/openmct.git
synced 2025-06-15 21:58:13 +00:00
[Time Conductor] Update spec
...for TimeRangeController to reflect separation of date-time inputs into a separate control. Additionally, removed unused function.
This commit is contained in:
@ -45,14 +45,6 @@ define(
|
||||
return formatter.format(ts);
|
||||
}
|
||||
|
||||
function parseTimestamp(text) {
|
||||
if (formatter.validate(text)) {
|
||||
return formatter.parse(text);
|
||||
} else {
|
||||
throw new Error("Could not parse " + text);
|
||||
}
|
||||
}
|
||||
|
||||
// From 0.0-1.0 to "0%"-"100%"
|
||||
function toPercent(p) {
|
||||
return (100 * p) + "%";
|
||||
|
Reference in New Issue
Block a user