Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support singular form without integer #59

Closed
Jokero opened this issue Jun 3, 2016 · 1 comment
Closed

Support singular form without integer #59

Jokero opened this issue Jun 3, 2016 · 1 comment

Comments

@Jokero
Copy link
Contributor

Jokero commented Jun 3, 2016

Now I can use multiple ways to get number of milliseconds for singular forms of string:

ms('1h') // 3600000
ms('1 h') // 3600000
ms('1hour') // 3600000
ms('1 hour') // 3600000
ms('1hours') // 3600000
ms('1 hours') // 3600000
// ...

But I can't do in the following way without integer:

ms('h') // undefined, should be 3600000
ms('hour') // undefined, should be 3600000
@grushikhin
Copy link

+1

@Jokero Jokero closed this as completed Jun 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants