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

Exact days count replaced by weeks. #120

Open
SabreRunner opened this issue Feb 13, 2018 · 6 comments
Open

Exact days count replaced by weeks. #120

SabreRunner opened this issue Feb 13, 2018 · 6 comments
Labels
enhancement help-wanted The issue is "up for grabs" - add a comment if you are interested in working on it low-priority

Comments

@SabreRunner
Copy link

Why has the days count for news items been replaced with weeks instead? It's much less precise and I don't like it.

@olsh
Copy link
Owner

olsh commented Feb 13, 2018

Hi @SabreRunner ,

We replaced timeago library in the latest release.
Old versions use http://timeago.yarp.com/
Starting from 2.17.2 we are using http://timeago.org/

We had some localizations and other issues with the jquery timeago library, that's why we switched to another version.
Probably you should open an issue in the timeago repo about the difference in rendering?

@SabreRunner
Copy link
Author

Can't there be a toggle or some setting so I can select how to see it?

@olsh
Copy link
Owner

olsh commented Feb 13, 2018

I didn't find such toggle in the source code
https://github.com/hustcc/timeago.js/blob/master/src/timeago.js

@SabreRunner
Copy link
Author

Excuse me but I don't have the time to read a library.
So how does it work? Why was it changed?

@olsh
Copy link
Owner

olsh commented Feb 13, 2018

So how does it work?

Could you please concretize the question?

Why was it changed?

I think, this question should be addressed to the authors of the library.

@olsh
Copy link
Owner

olsh commented Feb 14, 2018

I will try this when I have some time.
hustcc/timeago.js#119

@olsh olsh self-assigned this Feb 14, 2018
@olsh olsh added the help-wanted The issue is "up for grabs" - add a comment if you are interested in working on it label Jul 5, 2018
@olsh olsh removed their assignment Nov 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement help-wanted The issue is "up for grabs" - add a comment if you are interested in working on it low-priority
Projects
None yet
Development

No branches or pull requests

2 participants