ArcGIS API for Javascript TimeSlider properties - date format

658
2
12-10-2019 01:18 PM
PavelK
by
New Contributor

Hi everyone,

would anyone know how to set the TimeSlider widget properties to show only the year on the slider?

As you can see in the picture below, it shows the whole date including the day and the month. 

Thank you

Pavel

0 Kudos
2 Replies
UndralBatsukh
Esri Regular Contributor

Hi there, 

It cannot be done at this release. We will adding capabilities to customize the TimeSlider labels in coming releases. 

-Undral

LefterisKoumis
Occasional Contributor III

If you are comfortable with JS you can change the label in the updateTimeExtentLabel function under the widget.js

0 Kudos