Gets or sets a format of the time displayed in the estimationText label.
$au.uploader({ uploadProgressDialog: { //...other params... timeFormat: "Appearance=ColonSeparated; PresentDirection=HMS; DigitsFormat=NN; HideZero=FALSE", //...other params... } })
Type: String
The time format string having the following syntax:
variable1=value1;variable2=value2;...
The order and case sensitivity are not important. Possible values are:
Words
(XX hours XX minutes XX seconds), ColonSeparated
(XX:XX:XX).H
, M
and S
symbols.N
, NN
.TRUE
, FALSE
.Default value is "Appearance=ColonSeparated; PresentDirection=HMS; DigitsFormat=NN; HideZero=FALSE".
Here is an examples of the usage of this property. Say, you set the following value for it:
Appearance=Words;PresentDirection=HMS;DigitsFormat=N;HideZero=TRUE
Then all time values will be displayed like this:
5 minutes 30 seconds
or this:
1 hours 15 minutes 30 seconds