SimulationDateTime
The SimulationDateTime will render the simulation-time.
Examples
<NavigationButton actions={this.props.actions} viewport={this.props.viewport} />
// output example (ja-JP) => 1970/01/01(木) 9:00:00
Properties
Properties
PropTypes
Default
Description
settime
number required
--
state settime
caption
string option
--
Title Caption
locales
string option
'ja-JP'
Argument of dateObj.toLocaleString
options
object option
※Below
Argument of dateObj.toLocaleString
className
string option
--
html tag attribute class
Options Default
{ year:'numeric', month:'2-digit', day:'2-digit',
hour:'2-digit', minute:'2-digit', second:'2-digit', weekday:'short' }
Last updated
Was this helpful?