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

diff-ymd-package

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

diff-ymd-package - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

0

.github/ISSUE_TEMPLATE/1-bug.md

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

@@ -0,0 +0,0 @@ # Pull Request

10

CHANGELOG.md

@@ -50,2 +50,8 @@ ## Changelog

### [v1.0.5]
#### Fixed
fixed some issues and configured files for publishing diff-ymd-package v1.0.5 on npm registry
### [Next Release] - Planning release time

@@ -55,4 +61,4 @@

- [Unreleased](https://github.com/farhan7reza7/diff-ymd-package/compare/v1.0.4...HEAD)
- [v1.0.4](https://github.com/farhan7reza7/diff-ymd-package/releases/tag/v1.0.4)
- [Unreleased](https://github.com/farhan7reza7/diff-ymd-package/compare/v1.0.5...HEAD)
- [v1.0.5](https://github.com/farhan7reza7/diff-ymd-package/releases/tag/v1.0.5)
- [Next Release](https://github.com/farhan7reza7/diff-ymd-package/milestone/2)

@@ -0,0 +0,0 @@ ### diff-ymd-package's Code of Conduct:

@@ -0,0 +0,0 @@ ## Contributing Guidelines for diff-ymd-package

@@ -0,0 +0,0 @@ {

{
"name": "diff-ymd-package",
"version": "1.0.4",
"description": "Utility class for calculating the difference between two dates in (aY bM cD)(aYears bMonths cDays) or customized formats like aY-bM-cD or aYears-bMonths-cDays etc.",
"version": "1.0.5",
"description": "Utility class for calculating the difference between two dates in formatted ways like (aY bM cD)(aYears bMonths cDays) or customized formats like aY-bM-cD or aYears-bMonths-cDays etc.",
"main": "src/diff-ymd.js",

@@ -10,3 +10,3 @@ "scripts": {

"keywords": [
"date",
"diff-ymd-package",

@@ -21,2 +21,3 @@ "ymd",

"age",
"date",
"customized-format",

@@ -23,0 +24,0 @@ "aY-bM-cD",

# diff-ymd-package
> `diff-ymd-package` a javascript package provides APIs to difference dates in formatted ways(like (aYears bMonths cDays) or (aY bM cD) etc., eg. age = 20Y 2M 23D or datesDifference = 2Years 11Months 20Days)
> `diff-ymd-package` a `javascript package` provides APIs to difference dates in formatted ways(like (aYears bMonths cDays) or (aY bM cD) etc., eg. age = 20Y 2M 23D or datesDifference = 2Years 11Months 20Days) or customized formats like aY-bM-cD or aYears-bMonths-cDays etc.

@@ -35,6 +35,6 @@ [![NPM Version][npm-image]][npm-url]

const calculator = new DatesYMD(date1, date2);
const Formatter = new DatesYMD(date1, date2);
const result = calculator.formattedYMD();
const resultArray = calculator.diffArray();
const result = Formatter.formattedYMD();
const resultArray = Formatter.diffArray();

@@ -57,2 +57,3 @@ console.log(result); // Output: "1Y 11M 30D"

*/
```

@@ -64,3 +65,3 @@

Represents a utility class for calculating the difference between two dates.
Represents a utility class for calculating the formatted and customized difference between two dates in all cases.

@@ -71,2 +72,3 @@ #### Create an instance of `DatesYMD`:

const Formatter = new DatesYMD(firstDate, secondDate);
```

@@ -83,3 +85,4 @@

```javascript
const result = calculator.diffArray();
const result = Formatter.diffArray();
```

@@ -94,3 +97,4 @@

```javascript
const result = calculator.formattedYMD();
const result = Formatter.formattedYMD();
```

@@ -100,3 +104,3 @@

[For more information, see `diff-ymd-package documentation`](https://farhan7reza7.github.io/diff-ymd-package/DatesYMD.html)
For more informations, [See `diff-ymd-package documentation`](https://farhan7reza7.github.io/diff-ymd-package/DatesYMD.html)

@@ -125,3 +129,3 @@ ## Contributing

For more details about what has changed in each version of this project, see the CHANGELOG.
For more details about what has changed in each version of this project.
See [CHANGELOG.md](CHANGELOG.md).

@@ -128,0 +132,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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