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

moment-jalaali

Package Overview
Dependencies
Maintainers
2
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

moment-jalaali - npm Package Compare versions

Comparing version 0.8.0 to 0.8.1

2

package.json
{
"name": "moment-jalaali",
"version": "0.8.0",
"version": "0.8.1",
"description": "Jalaali (Jalali, Persian, Khorshidi, Shamsi) calendar system plugin for moment.js.",

@@ -5,0 +5,0 @@ "author": {

@@ -575,4 +575,4 @@

it('should return start of Jalaali year, month and date', function() {
var m = moment('1980-05-15 07:10:20')
m.startOf('jYear').format('jYYYY-jMM-jDD HH:mm:ss').should.be.equal('1359-01-01 01:00:00')
var m = moment('1985-05-15 07:10:20')
m.startOf('jYear').format('jYYYY-jMM-jDD HH:mm:ss').should.be.equal('1364-01-01 00:00:00')
m = moment('1980-05-15 07:10:20')

@@ -600,4 +600,4 @@ m.startOf('jMonth').format('jYYYY-jMM-jDD HH:mm:ss').should.be.equal('1359-02-01 00:00:00')

it('should return end of Jalaali year, month and date', function() {
var m = moment('1980-05-15 07:10:20')
m.endOf('jYear').format('jYYYY-jMM-jDD HH:mm:ss').should.be.equal('1360-01-01 00:59:59')
var m = moment('1985-05-15 07:10:20')
m.endOf('jYear').format('jYYYY-jMM-jDD HH:mm:ss').should.be.equal('1364-12-29 23:59:59')
m = moment('1980-05-15 07:10:20')

@@ -604,0 +604,0 @@ m.endOf('jMonth').format('jYYYY-jMM-jDD HH:mm:ss').should.be.equal('1359-02-31 23:59:59')

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