How to use the @wordpress/date.setSettings function in @wordpress/date

To help you get started, we’ve selected a few @wordpress/date 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 Automattic / wp-calypso / client / gutenberg / editor / main.jsx View on Github external
const setDateGMTOffset = offset =>
	setDateSettings( set( __experimentalGetSettings(), [ 'timezone', 'offset' ], offset ) );