1.3.2 • Published 3 years ago

@gsmlg/ui5-webcomponents-localization v1.3.2

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
3 years ago

UI5 icon

UI5 Web Components - Localization

Travis CI Build Status npm Package Version

Provides date/time and CLDR functionality for the purposes of building UI5 Web Components.

Provided assets

The assets, provided by this package, are CLDR data:

import "@gsmlg/ui5-webcomponents-localization/dist/Assets.js";

Note: These assets are already imported by the UI5 Web Components packages that need them.

Provided features

Feature ImportDescription
@gsmlg/ui5-webcomponents-localization/dist/features/calendar/Buddhist.jsBuddhist calendar support
@gsmlg/ui5-webcomponents-localization/dist/features/calendar/Islamic.jsIslamic calendar support
@gsmlg/ui5-webcomponents-localization/dist/features/calendar/Japanese.jsJapanese calendar support
@gsmlg/ui5-webcomponents-localization/dist/features/calendar/Persian.jsPersian calendar support

Advanced Calendar Types Feature

import "@gsmlg/ui5-webcomponents-localization/dist/features/calendar/Buddhist.js";
import "@gsmlg/ui5-webcomponents-localization/dist/features/calendar/Islamic.js";
import "@gsmlg/ui5-webcomponents-localization/dist/features/calendar/Japanese.js";
import "@gsmlg/ui5-webcomponents-localization/dist/features/calendar/Persian.js";

The ui5-date-picker and ui5-datetime-picker components supports Gregorian Calendar by default.

In order to be able to use Buddhist, Islamic, Japanese, or Persian calendar with these components (by setting its primaryCalendarType property), you must import one or more of the modules above.

Resources

Support

We welcome all comments, suggestions, questions, and bug reports. Please follow our Support Guidelines on how to report an issue, or chat with us in the #webcomponents channel of the OpenUI5 Community Slack.

Contribute

Please check our Contribution Guidelines.

License

Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved. This file is licensed under the Apache Software License, Version 2.0 except as noted otherwise in the LICENSE file.