Closed combacsa closed 5 years ago
Unfortunately Japanese datetime is not complete in any platforms, so there's no way to validate spec changes. But we would be very happy to review your changes and merge them in. Could you create a PR just changing the relevant specs?
@tellarin Of course. I'll create one within 48 hours :)
Oops. 48 hours become more than 72 hours.
No worries, @combacsa. Thanks a lot!
Is your feature request related to a problem? Please describe. I'm glad that this project has excellent translated Japanese DateTime Spec even though Patterns have some Chinese-only phrases and grammar which is clearly not Japanese ones...
However, I found some bugs on spec. Let's take a look at an example on DatePeriodParser.json:
Extracted string doesn't begin at index 12, it's from the beginning. And length is 15, not 22. This kind of bugs are easily fixable, I believe. A bit tough example is something like this:
Here we can see "1日の日曜日" but let's see another example on same spec file:
Way of describing 'nth weekday' in Japanese form is later one, not previous one. This kind of grammatical error on Spec needs to be fixed, I believe.
Toughest ones might be something like this:
Extracted string should be
2016年04月21日の午後8:00
. Input text is well translated. But, unfortunately, result text part isn't translated.Describe the solution you'd like I personally made some patches to fix these bugs, but since I'm a Python user and there isn't Python Japanese DateTime model available yet, I'm not sure the way to validate my patch.
Even worse, I only have a Ubuntu machine, so it's not easy for me to figure out how to run some tests on other Programming languages, such as DotNet. (I found that there is some problem running DotNet package of this project on Ubuntu, some kind of version problem.)
So I need a guide how to create a pull request with ensured quality check.
Describe alternatives you've considered Or someone other than me could fix those bugs in Spec and make proper full request... I made a dirty script fix_spec_error.zip to automatically fix some trivial Spec error. Of course this lacks with some other spec bug fix.
Additional context Of course, it would be very appreciated if someone would guide me how to make pull request by my own. Of course I've already read Contributing guide but it only tells about JavaScript and DotNet, not about other Programming language, and I'm keep failing to run DotNet ones on my local machine...
Thanks for reading.