`plugin_languages_recent_days` doesn't do anything
See original GitHub issueNo matter what value I pass to plugin_languages_recent_days
I get the same output.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Translation does not load correctly - WordPress.org
Hello Uwe, I have updated to the latest version and it has not worked. Then I created a new ES language again with...
Read more >Translations are not showing in the front end. - WPML
Hi there, i am using an Ewebot theme. i have installed the WPML plugin. i translated the home page into all languages.
Read more >TranslatePress WordPress Plugin: Read This Before Choosing!
TranslatePress is a premium WordPress translation plugin that comes with high-end features for multilingual websites. Read this guide before ...
Read more >9 Language Translator WordPress Plugins for a Multilingual ...
In this post, I'll discuss some of the benefits of translating your website, what types of translations are available, and the best language...
Read more >Natural Language Dates in Obsidian - GitHub
Expand dates using natural language inline within the editor view. Typing @today Enter will automatically be expanded to the current date. Press Shift...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes the recent analyzer doesn’t load the
.gitattributes
of the related repo currentlyI’ll check to create “temporary partial repositories” from event patches instead of just storing them in the same folder and fetch the
.gitattributes
at least once so linguist is more accurate in its resultMaybe there are still adjustements to do on this feature since it’s relatively new, if you find anything which makes stats incorrect like in #338 don’t hesitate to report it 🙂
It’s possible that there are some “noises” that get counted in like added empty lines, moved code blocks (the same lines may count multuple times if you change it place) or single characters lines like brackets
}
Yes, it shouldn’t be too hard to do, essentially we just need to load the
created_at
date from the last commit event fetched: https://github.com/lowlighter/metrics/blob/37f686a2ac804b88958992689b66212556e8afd3/source/plugins/languages/analyzers.mjs#L70-L71And change the value used in the template: https://github.com/lowlighter/metrics/blob/37f686a2ac804b88958992689b66212556e8afd3/source/templates/classic/partials/languages.ejs#L23