How to use the @instructure/ui-i18n.DateTime.browserTimeZone function in @instructure/ui-i18n

To help you get started, we’ve selected a few @instructure/ui-i18n 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 instructure / instructure-ui / packages / ui-forms / src / DateInput / DatePicker / index.js View on Github external
_timezone (props, context) {
    return props.timezone || context.timezone || DateTime.browserTimeZone()
  }
github instructure / instructure-ui / packages / ui-forms / src / DateInput / index.js View on Github external
_timezone (props, context) {
    return props.timezone || context.timezone || DateTime.browserTimeZone()
  }
github instructure / instructure-ui / packages / ui-forms / src / TimeInput / index.js View on Github external
timezone () {
    return this.props.timezone || this.context.timezone || DateTime.browserTimeZone()
  }
github instructure / instructure-ui / packages / ui-forms / src / DateTimeInput / index.js View on Github external
get timezone () {
    return this.props.timezone || this.context.timezone || DateTime.browserTimeZone()
  }