Overview:
In Japanese localization, there is an issue with filtering by dates and setting dates in the future. As soon as one of the dates is set for the upcoming month in the Japanese language, the error asks to enter a Valid date format. The issue does not appear when the user's language is changed to English.
Root Cause:
Vault displays dates and times using formats accepted as the standard for each locale. For example, the following represents the same date and time in three different countries:
Locale |
Numeric |
Alphanumeric |
ISO 8601 |
United States (Pacific) |
5/18/2016 9:29 AM PDT |
18 May 2016 9:29 AM PDT |
2016-05-18 9:29 AM PDT |
Germany |
18.05.2016 18:29 MESZ |
18 Mai 2016 18:29 MESZ |
2016-05-18 6:29 PM CEST |
Japan |
2016/05/19 1:29 JST |
2016年05月19日 1:29 JST |
2016-05-19 1:29 AM JST |
In this case, the error is due to the Vault configuration not allowing the display of dates and times in an individual users’ locales. It leads to a format mismatch.
Solution:
Vault admin need to follow the steps below to
- Navigate to Admin --> Settings --> Language & Region Settings --> Date & Time Formats.
- Enable (click in the checkbox) the setting Format dates and times based on the user's locale.
Related Documentation:
N/A