Comments (4)
Ok, sorry for the inconvenience, I've just figured out what was the problem. I've removed fallbacks
key and it worked.
Thank you for your plugin!
from jekyll-timeago.
Hi @adham-hajji and thanks for trying this plugin!
First of all, what version are you using? New localization system was released in v0.10.0
, so you should install an equal or superior version (btw, I recommend you to use latest version v0.11.1
).
I'll need more information about your installation and usage to debug your errors. This part has tests and are all passing for me locally and remote CI (Travis).
Keep in touch!
from jekyll-timeago.
Hi,
Same here with latest version (0.11.1) freshly installed.
In my front matter of the posts, I've created this:
---
locale: en
layout: post
---
{{ page.date | timeago }}
Actually, the filter is called from an include statement.
Here is my options tag:
jekyll_timeago:
depth: 2
default_locale: 'fr'
fallbacks: true
available_locales:
- 'en'
- 'fr'
(Default) French translation is working but not English one. I use jekyll-polyglot for handling translated posts.
David.
from jekyll-timeago.
@adham-hajji maybe you will find useful @david-barbion's comments.
I'm going to close for now, please reopen if you can provide more information, otherwise we can't help with your issue.
@david-barbion no prob 👍
Thanks!
from jekyll-timeago.
Related Issues (16)
- Plugin not working in external source HOT 1
- Invalid depth level: nil HOT 2
- Depth is misspelled in the README
- Doesnt Work on gituhubages HOT 1
- Translation HOT 13
- Set granularity HOT 4
- Filters {{ page.date | timeago }} become invalid date HOT 3
- Can't reverse the order of dates HOT 4
- Change days_in_month calculation
- Thanks to such a good plug-in, Adapted to Asian semantic functional requirements HOT 7
- .rbenv/versions/3.3.0/lib/ruby/gems/3.3.0/gems/jekyll-timeago-0.15.0/lib/jekyll-timeago/core.rb:36:in `parse': invalid date (Date::Error) HOT 1
- adding feature sec, min, hour HOT 2
- cannot load such file -- jekyll/timeago/version (LoadError) HOT 4
- Tried to implement it following documentation and the tag doesn't appear. HOT 3
- 'Today' not working HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jekyll-timeago.