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

Added languages of the JS Repo #21

Closed lolobosse closed 6 years ago

lolobosse commented 6 years ago

Refers to #19 And it's also related to #20 which I closed because I'm a retarded git user...

I created a script which:

  1. Copies the git repo of timeago.js
  2. Detects which languages are "easy to parse"
  3. Runs a node script which transforms the modules into JSON (very fast done...).
  4. Extract the values from the newly created JSON
  5. Writes them to file (if they were not in the repo before)
  6. Cleans the mess it created
  7. Wrote the according tests

TODO:

  1. Clean the file that might be incorrect
  2. Adapt the Readme
  3. Release on Pypi

But I hope it will give a kick to this cool project! 💪

lolobosse commented 6 years ago

@emirkanacar Can you have a look there because it conflicts with #12 and I'd like to know if what I found in the JS Repository is really correct in 🇹🇷 (I do not speak 🇹🇷 myself 😢 )

hustcc commented 6 years ago

Well done~