Angel Fernando Quiroz Campos 88b3acf700 Update bower assets - refs #8185 il y a 8 ans
..
README.md cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.ar.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.bg.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.bs.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.ca.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.cs.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.cy.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.da.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.de.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.dv.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.el.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.en-short.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.en.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.es-short.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.es.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.et.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.fa.js 88b3acf700 Update bower assets - refs #8185 il y a 8 ans
jquery.timeago.fi.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.fr-short.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.fr.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.gl.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.he.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.hr.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.hu.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.hy.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.id.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.is.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.it-short.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.it.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.ja.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.jv.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.ko.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.ky.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.lt.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.mk.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.nl.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.no.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.pl.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.pt-br-short.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.pt-br.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.pt.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.ro.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.rs.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.ru.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.rw.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.si.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.sk.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.sl.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.sv.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.th.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.tr.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.uk.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.uz.js 88b3acf700 Update bower assets - refs #8185 il y a 8 ans
jquery.timeago.vi.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.zh-CN.js cf9703b2a5 add static assets il y a 8 ans
jquery.timeago.zh-TW.js cf9703b2a5 add static assets il y a 8 ans

README.md

Locale override examples for timeago

You can represent time statements in most western languages where a prefix and/or suffix is used.

The default case is to use suffix only (as in English), which you do by providing the suffixAgo and suffixFromNow settings in the strings hash (earlier versions of timeago used the deprecated ago and fromNow options). If present, they are used.

2 minutes [suffixAgo]
2 minutes [suffixFromNow]

In case you want to use prefix only instead of suffix (e.g. Greek), you provide the prefixAgo and prefixFromNow options in the strings hash and leave suffixAgo and suffixFromNow empty or null.

[prefixAgo] 2 minutes
[prefixFromNow] 2 minutes

For languages where you want to use a prefix only for future tense and prefix/suffix for past tense (for example swedish), you can combine the prefix and suffixes as needed.

[prefixAgo] 2 minutes [suffixAgo]
[prefixFromNow] 2 minutes