diff --git a/CHANGELOG.md b/CHANGELOG.md
index 84b243ce..299d62c2 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -53,10 +53,27 @@ fixed some issues and configured files for publishing diff-ymd-package v1.0.4 on
fixed some issues and configured files for publishing diff-ymd-package v1.0.5 on npm registry
+### [v1.1.0]
+
+#### Added
+
+- Improved handling of customized formatting.
+- Includes method for creating customized differrence formats.
+- Included Unit test using Jest for customizing method.
+- Included through comments in tests script
+
+#### Changed
+
+- Included through comments in tests script
+
+#### Fixed
+
+fixed some issues and configured files for publishing diff-ymd-package v1.1.0 on npm registry
+
### [Next Release] - Planning release time
### Important changes links:
-- [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)
+- [Unreleased](https://github.com/farhan7reza7/diff-ymd-package/compare/v1.1.0...HEAD)
+- [v1.1.0](https://github.com/farhan7reza7/diff-ymd-package/releases/tag/v1.1.0)
- [Next Release](https://github.com/farhan7reza7/diff-ymd-package/milestone/2)
diff --git a/README.md b/README.md
index 158b051b..58c8aaec 100644
--- a/README.md
+++ b/README.md
@@ -55,6 +55,10 @@ const customFormat = Y + 'years ' + M + 'months ' + D + 'days';
console.log(customFormat); // output: 1years 11months 30days
*/
+// you can use this method for creating format of your choice
+const customizedFormat = Formatter.customizeFormat('Ys', 'Ms', 'Ds', '-');
+
+console.log(customizedFormat); // Output: "1Ys-2Ms-2Ds"
```
## API Documentation
@@ -67,7 +71,6 @@ Represents a utility class for calculating the formatted and customized differen
```javascript
const Formatter = new DatesYMD(firstDate, secondDate);
-
```
- **`firstDate`**: The first date in the format 'yyyy-mm-dd' or 'yyyy/mm/dd' or 'yyyy.mm.dd'.
@@ -80,7 +83,6 @@ Calculates the difference between two dates and returns an array containing Y(ye
```javascript
const result = Formatter.diffArray();
-
```
- **`Returns:`**
@@ -91,11 +93,24 @@ Returns the formatted difference between two dates in aY bM cD(aYears bMonths cD
```javascript
const result = Formatter.formattedYMD();
-
```
- **`Returns:`** A string in the format 'aY bM cD'.
+**`customizeFormat(yearUnit, monthUnit, dayUnit, partSeparator)`**
+Customizes the difference using specified units and separators
+
+```javascript
+const result = Formatter.customizeFormat(
+ yearUnit,
+ monthUnit,
+ dayUnit,
+ partSeparator,
+);
+```
+
+- **`Returns:`** A customized formatted difference string of form (a + yearUnit + partSeparator + b + monthUnit + partSeparator + c + dayUnit), eg. aYs-bMs-cDs etc.
+
For more informations, [See `diff-ymd-package documentation`](https://farhan7reza7.github.io/diff-ymd-package/DatesYMD.html)
## Contributing
diff --git a/docs/DatesYMD.html b/docs/DatesYMD.html
index 9af1754b..46104dfa 100644
--- a/docs/DatesYMD.html
+++ b/docs/DatesYMD.html
@@ -1,470 +1,299 @@
-
+
-
+ Customizes the difference using specified units and separators like
+ (a + yearUnit + partSeparator + b + monthUnit + partSeparator + c +
+ dayUnit), eg. aYs-bMs-cDs etc.
+
+
+
Parameters:
+
+
+
+
+
Name
+
+
Type
+
+
Description
+
+
+
+
+
+
yearUnit
+
+
+ string
+
+
+
The unit for years.
+
+
+
+
monthUnit
+
+
+ string
+
+
+
The unit for months.
+
+
+
+
dayUnit
+
+
+ string
+
+
+
The unit for days.
+
+
+
+
partSeparator
+
+
+ string
+
+
+
+ The separator between year, month, and day parts.
+