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

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