Socket
Socket
Sign inDemoInstall

javascript-time-ago

Package Overview
Dependencies
Maintainers
1
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

javascript-time-ago - npm Package Compare versions

Comparing version 0.4.3 to 0.4.4

5

HISTORY.md

@@ -0,1 +1,6 @@

0.4.4 / 22.12.2016
===================
* Changed `yesterday` and `tomorrow` labels for Russian localization
0.2.0 / 13.04.2016

@@ -2,0 +7,0 @@ ===================

12

locales/ru.js

@@ -59,4 +59,4 @@ var long = {

"day": {
"previous": "вчера",
"next": "завтра",
"previous": "днём ранее",
"next": "через день",
"future": {

@@ -200,4 +200,2 @@ "one": "через {0} день",

"day": {
"previous": "вчера",
"next": "завтра",
"future": {

@@ -323,4 +321,4 @@ "one": "{0} день",

"day": {
"previous": "вчера",
"next": "завтра",
"previous": "днём ранее",
"next": "через день",
"future": {

@@ -436,4 +434,2 @@ "one": "через {0} д.",

"day": {
"previous": "вчера",
"next": "завтра",
"future": {

@@ -440,0 +436,0 @@ "one": "{0} д.",

{
"name": "javascript-time-ago",
"version": "0.4.3",
"version": "0.4.4",
"description": "International highly customizable relative time formatting",

@@ -5,0 +5,0 @@ "main": "index.umd.js",

@@ -39,5 +39,5 @@ # javascript-time-ago

This package assumes that the [`Intl`][Intl] global object exists in the runtime. `Intl` is present in all modern browsers _except_ Safari (which can be solved with the Intl polyfill).
This package assumes that the [`Intl`][Intl] global object exists in the runtime. `Intl` is present in all modern browsers [_except_ Internet Explorer 10 and Safari 9](http://caniuse.com/#search=intl) (which can be solved with the Intl polyfill).
Node.js 0.12 has the `Intl` APIs built-in, but only includes the English locale data by default. If your app needs to support more locales than English, you'll need to [get Node to load the extra locale data](https://github.com/nodejs/node/wiki/Intl), or (a much simpler approach) just install the Intl polyfill.
Node.js starting from `0.12` has the `Intl` APIs built-in, but only includes the English locale data by default. If your app needs to support more locales than English, you'll need to [get Node to load the extra locale data](https://github.com/nodejs/node/wiki/Intl), or (a much simpler approach) just install the Intl polyfill.

@@ -96,3 +96,3 @@ If you decide you need the Intl polyfill then [here are some basic installation and configuration instructions](#intl-polyfill-installation)

time_ago_russian.format(new Date(Date.now() - 24 * 60 * 60 * 1000))
// "вчера"
// "днём ранее"
```

@@ -99,0 +99,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc