Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jalali-moment

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jalali-moment - npm Package Compare versions

Comparing version 3.0.5 to 3.0.6

npmdoc.md

4

package.json
{
"name": "jalali-moment",
"version": "3.0.5",
"version": "3.0.6",
"description": "Display, parse, manipulate ,validate and convert jalali (Persian, Khorshidi, Shamsi) date and time",

@@ -31,3 +31,3 @@ "author": {

"dev": "WEBPACK_ENV=dev webpack --progress --colors --watch",
"publish": "mkdir -p pkg;cp -r ./* ./pkg; cp Document.md ./pkg/README.md; cd ./pkg;npm run build",
"publish": "mkdir -p pkg;cp -r ./* ./pkg; cp npmdoc.md ./pkg/README.md; cd ./pkg;npm run build",
"postPublish": "npm publish pkg;rm -rf pkg"

@@ -34,0 +34,0 @@ },

@@ -17,12 +17,12 @@ # Jalali Moment

## Table Of Content
- [Install](README.md#install)
## How to
- [Install](#install)
- Use jalali moment in
- [Node.js](README.md#using-in-nodejs)
- [Typescript](README.md#typescript)
- [Angular](README.md#angular-2-or-4)
- [Aurelia](README.md#aurelia)
- [Es5](README.md#es5)
- [Plunker](README.md#using-in-plunker)
- [Use API](README.md#api)
- [Node.js](https://github.com/fingerpich/jalali-moment#using-in-nodejs)
- [Typescript](https://github.com/fingerpich/jalali-moment#typescript)
- [Angular](https://github.com/fingerpich/jalali-moment#angular-2-or-4)
- [Aurelia](https://github.com/fingerpich/jalali-moment#aurelia)
- [Es5](https://github.com/fingerpich/jalali-moment#es5)
- [Plunker](https://github.com/fingerpich/jalali-moment#using-in-plunker)
- [Use API](https://github.com/fingerpich/jalali-moment#api)

@@ -38,3 +38,3 @@ This plugin provides using jalali and gregorian calendar system together

- [Parse](README.md#parse)
- [Parse](https://github.com/fingerpich/jalali-moment#parse)
```js

@@ -44,15 +44,15 @@ moment.locale('fa'); // set fa locale for all new moment instances

```
- [Display](README.md#display-jalali-or-miladi-date)
- [Display](https://github.com/fingerpich/jalali-moment#display-jalali-or-miladi-date)
```js
m1.format("YYYY/MM/DD"); // 1367/11/04
```
- [Manipulate](README.md#manipulate)
- [Manipulate](https://github.com/fingerpich/jalali-moment#manipulate)
```js
m1.add(1, "day").format("YYYY/MM/DD"); // 1367/11/05
```
- [Validate](README.md#validate)
- [Validate](https://github.com/fingerpich/jalali-moment#validate)
```js
m1.isSame(m1.clone()); // true
```
- [Convert](README.md#convert-persianjalali--shamsi-khorshidi-to-gregorian-miladi-calendar-system)
- [Convert](https://github.com/fingerpich/jalali-moment#convert-persianjalali--shamsi-khorshidi-to-gregorian-miladi-calendar-system)
```js

@@ -59,0 +59,0 @@ moment('1367/11/04', 'YYYY/MM/DD').locale('en').format('YYYY/MM/DD'); // 1989/01/24

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