hustcc / timeago

:hourglass: Simple library used to format datetime with `*** time ago` statement. eg: "3 hours ago".
http://timeago.org
MIT License
224 stars 37 forks source link

Polish locale and custom grammar parser logic #23

Closed marcel-odya closed 5 years ago

marcel-odya commented 6 years ago

This adds support for polish language.

Altough PEP 257 says triple quotes should be made with double quote sign, I decided to stick with what already has been written in the code.

hustcc commented 5 years ago

I think you should change the customize locale into a function, like javascript version.

add SPECIFIC_GRAMMAR_LANGUAGES is not perfect.