All,
For timeline bar updates see here:-
My final solution was very basic. In TypeScript it looks like the following if anyone is interested.
this.viewer.animation.viewModel.dateFormatter = (date, viewModel) => {
const gregorianDT = JulianDate.toGregorianDate(date);
const objDate = new Date(gregorianDT.year, gregorianDT.month - 1, gregorianDT.day);
return gregorianDT.day + ' ' + objDate.toLocaleString('en-us', { month: 'short' }) + ' ' + gregorianDT.year;
};
this.viewer.animation.viewModel.timeFormatter = (date, viewModel) => {
const localDate = JulianDate.toDate(date);
return localDate.toLocaleTimeString();
};