captbaritone / captbaritone/datejs

Feature Request: Do not translate RegexPatterns or provide a fallback system for English

Open
#114 0 comments 0 reactions 0 assignees View on GitHub
auto-migrated Priority-Medium Type-Defect
Dominant language
JavaScript
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```
What steps will reproduce the problem?
1. Use any translation
2. Your code gets invalid if the translated RegexPatterns does not match the
ones you used when you were coding, so it delivers null

ex. Date.parse("sunday") will work in English, but with Spanish becomes invalid
and delivers null.

What is the expected output? What do you see instead?
Expected output: a valid date
Instead: null

What version of the product are you using? On what operating system?
Alpha-1 / WinXP

Please provide any additional information below.
Regex Patterns should work the following way:

1.- use English Patterns
2.- if null then use the current language patterns
```

Original issue reported on code.google.com by `cor...@aldomx.com` on 13 Dec 2010 at 6:34

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.