jmontoyaa e0adf91451 Updating based in bower.json 8 年之前
..
README.md cf9703b2a5 add static assets 8 年之前
jquery.timeago.ar.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.bg.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.bs.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.ca.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.cs.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.cy.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.da.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.de.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.dv.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.el.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.en-short.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.en.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.es-short.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.es.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.et.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.fa.js e0adf91451 Updating based in bower.json 8 年之前
jquery.timeago.fi.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.fr-short.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.fr.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.gl.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.he.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.hr.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.hu.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.hy.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.id.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.is.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.it-short.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.it.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.ja.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.jv.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.ko.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.ky.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.lt.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.mk.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.nl.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.no.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.pl.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.pt-br-short.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.pt-br.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.pt.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.ro.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.rs.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.ru.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.rw.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.si.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.sk.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.sl.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.sv.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.th.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.tr.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.uk.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.uz.js e0adf91451 Updating based in bower.json 8 年之前
jquery.timeago.vi.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.zh-CN.js cf9703b2a5 add static assets 8 年之前
jquery.timeago.zh-TW.js cf9703b2a5 add static assets 8 年之前

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