How to use the cx/ui.Format.value function in cx

To help you get started, we’ve selected a few cx examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github codaxy / dashboards / app / widgets / time / Controller.js View on Github external
updateTime() {
		this.store.set("time", Format.value(Date.now(), "datetime;hhmma"));
		this.store.set("day", Format.value(Date.now(), "datetime;DDDD"));
		this.store.set("date", Format.value(Date.now(), "date"));
	}
}
github codaxy / dashboards / app / widgets / time / Controller.js View on Github external
updateTime() {
		this.store.set("time", Format.value(Date.now(), "datetime;hhmma"));
		this.store.set("day", Format.value(Date.now(), "datetime;DDDD"));
		this.store.set("date", Format.value(Date.now(), "date"));
	}
}
github codaxy / dashboards / app / widgets / time / Controller.js View on Github external
updateTime() {
		this.store.set("time", Format.value(Date.now(), "datetime;hhmma"));
		this.store.set("day", Format.value(Date.now(), "datetime;DDDD"));
		this.store.set("date", Format.value(Date.now(), "date"));
	}
}