mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
.. | ||
jquery.timeago.ar.js | ||
jquery.timeago.bg.js | ||
jquery.timeago.bs.js | ||
jquery.timeago.ca.js | ||
jquery.timeago.cs.js | ||
jquery.timeago.cy.js | ||
jquery.timeago.da.js | ||
jquery.timeago.de.js | ||
jquery.timeago.el.js | ||
jquery.timeago.en-short.js | ||
jquery.timeago.en.js | ||
jquery.timeago.es.js | ||
jquery.timeago.et.js | ||
jquery.timeago.fa.js | ||
jquery.timeago.fi.js | ||
jquery.timeago.fr-short.js | ||
jquery.timeago.fr.js | ||
jquery.timeago.he.js | ||
jquery.timeago.hr.js | ||
jquery.timeago.hu.js | ||
jquery.timeago.hy.js | ||
jquery.timeago.id.js | ||
jquery.timeago.it.js | ||
jquery.timeago.ja.js | ||
jquery.timeago.ko.js | ||
jquery.timeago.lt.js | ||
jquery.timeago.mk.js | ||
jquery.timeago.nl.js | ||
jquery.timeago.no.js | ||
jquery.timeago.pl.js | ||
jquery.timeago.pt-br.js | ||
jquery.timeago.pt.js | ||
jquery.timeago.ro.js | ||
jquery.timeago.rs.js | ||
jquery.timeago.ru.js | ||
jquery.timeago.sk.js | ||
jquery.timeago.sl.js | ||
jquery.timeago.sv.js | ||
jquery.timeago.th.js | ||
jquery.timeago.tr.js | ||
jquery.timeago.uk.js | ||
jquery.timeago.uz.js | ||
jquery.timeago.zh-cn.js | ||
jquery.timeago.zh-tw.js | ||
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