You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 12, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 12, 2022. It is now read-only.
RFC 2616 Dates cannot be parsed if default locale is not English #561
Problem
datetimeproperties with a valid datetime likeSun, 28 Feb 2016 16:41:41 GMTcause a validation error if the Java defaultLocaleis not English.(Source: https://github.com/phoenixnap/springmvc-raml-plugin/blob/master/src/test/resources/ramls/github/issue-253.raml)
This line is missing a preset locale, probably English:
raml-java-parser/yagi/src/main/java/org/raml/yagi/framework/util/DateUtils.java
Line 27 in 6d9005d
so it should be
as demonstrated by the following
Test case
See also
#272 Tests failö on non-English locale
Aha! Link: https://mulesoft-roadmap.aha.io/features/APIRAML-46