<commit_before>
# Angular Date Time Picker

**Angular date time picker - Angular reusable UI component**
**This package supports Angular 4**

## Updates
* Add locale 'ca', 'es', closes [#66](https://github.com/DanielYKPan/date-time-picker/issues/66).
* Picker's calendar and time slider would be updated after [dateTimePicker] value being updated outside the picker, closes [#71](https://github.com/DanielYKPan/date-time-picker/issues/71).
* Add picker option **[autoClose]=" false "**. If setting __`[autoClose] = "true"`__, the picker would close and return the moment value by clicking a day in the calendar or confirming the time value in time slider (The default value is 'false'). 
   closes [#72](https://github.com/DanielYKPan/date-time-picker/issues/72).
* Remove __Close__ button.
* Add __Cancel__ button. The picker would return __null__ value, after clicking cancel button.
* Change option **[onlyCurrent]** to **[onlyCurrentMonth]**.

## Important
* Get locale working in the whole picker. Words not from MomentJS in the picker now are also translated.( 'ca', 'de', 'en', 'es', 'fr', 'lt', 'pl', 'pt', 'ro', 'ru', 'zh_CN', 'zh_HK', 'zh_TW').<commit_msg>Update picker to v 4.2.0<commit_after>
# Angular Date Time Picker

**Angular date time picker - Angular reusable UI component**
**This package supports Angular 4**

## Updates
* Add locale 'ca', 'es', closes [#66](https://github.com/DanielYKPan/date-time-picker/issues/66).
* Picker's calendar and time slider would be updated, if [dateTimePicker] value is updated outside the picker. closes [#71](https://github.com/DanielYKPan/date-time-picker/issues/71).
* Add picker option **[autoClose]=" false "**. If setting __`[autoClose] = "true"`__, the picker would close and return the moment value by clicking a day in the calendar or confirming the time value in time slider (The default value is 'false'). 
   closes [#72](https://github.com/DanielYKPan/date-time-picker/issues/72).
* Remove __Close__ button.
* Add __Cancel__ button. The picker would return __null__ value, after clicking cancel button.
* Change option **[onlyCurrent]** to **[onlyCurrentMonth]**.

## Important
* Get locale working in the whole picker. Words not from MomentJS in the picker now are also translated.( 'ca', 'de', 'en', 'es', 'fr', 'lt', 'pl', 'pt', 'ro', 'ru', 'zh_CN', 'zh_HK', 'zh_TW').
{'fraction_non_alphanumeric': 0.1424294268605646, 'fraction_numerical': 0.01240376390076989, 'mean_word_length': 4.876884422110553, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1479396', 'n_tokens_mistral': 754, 'n_tokens_neox': 688, 'n_words': 275}