We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hr.ts
const localeFunc = (number: number, index: number, totalSec: number): [string, string] => { // number: the timeago / timein number; // index: the index of array below; // totalSec: total seconds between date to be formatted and today's date; return [ ['tek sada', 'upravo sada'], ['prije %s sekundi', 'za %s sekunde'], ['prije 1 minute', 'za 1 minutu'], ['prije %s minuta', 'za %s minuta'], ['prije 1 sata', 'za 1 sat'], ['prije %s sata', 'za %s sata'], ['prije 1 dan', 'za 1 dan'], ['prije %s dana', 'za %s dana'], ['prije 1 tjedan', 'za 1 tjedan'], ['prije %s tjedna', 'za %s tjedna'], ['prije 1 mjeseca', 'za 1 mjesec'], ['prije %s mjeseci', 'za %s mjeseca'], ['prije 1 godine', 'za 1 godinu'], ['prije %s godina', 'za %s godina'] ][index]; };
rs.ts
const localeFunc = (number: number, index: number, totalSec: number): [string, string] => { // number: the timeago / timein number; // index: the index of array below; // totalSec: total seconds between date to be formatted and today's date; return [ ['nedavno', 'ovog momenta'], ['pre %s sekundi', 'za %s sekunde'], ['pre 1 minute', 'za 1 minutu'], ['pre %s minuta', 'za %s minuta'], ['pre 1 sata', 'za 1 sat'], ['pre %s sata', 'za %s sata'], ['pre 1 dan', 'za 1 dan'], ['pre %s dana', 'za %s dana'], ['pre 1 nedelje', 'za 1 nedelju'], ['pre %s nedelje', 'za %s nedelju'], ['pre 1 mesec', 'za 1 mesec'], ['pre %s mesea', 'za %s meseca'], ['pre 1 godinu', 'za 1 godinu'], ['pre %s godina', 'za %s godina'] ][index]; };
The text was updated successfully, but these errors were encountered:
No branches or pull requests
hr.ts
rs.ts
The text was updated successfully, but these errors were encountered: