clone-date 1.0.12 → 1.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +108 -10
- package/package.json +4 -2
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2015-
|
|
3
|
+
Copyright (c) 2015-25 Ionică Bizău <bizauionica@gmail.com> (https://ionicabizau.net)
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
package/README.md
CHANGED
|
@@ -1,14 +1,52 @@
|
|
|
1
1
|
<!-- Please do not edit this file. Edit the `blah` field in the `package.json` instead. If in doubt, open an issue. -->
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
4
20
|
# clone-date
|
|
5
21
|
|
|
6
|
-
[![Support me on Patreon][badge_patreon]][patreon] [![Buy me a book][badge_amazon]][amazon] [![PayPal][badge_paypal_donate]][paypal-donations] [](https://github.com/IonicaBizau/ama) [](https://www.npmjs.com/package/clone-date) [](https://www.npmjs.com/package/clone-date) [](https://www.codementor.io
|
|
22
|
+
[![Support me on Patreon][badge_patreon]][patreon] [![Buy me a book][badge_amazon]][amazon] [![PayPal][badge_paypal_donate]][paypal-donations] [](https://github.com/IonicaBizau/ama) [](https://www.npmjs.com/package/clone-date) [](https://www.npmjs.com/package/clone-date) [](https://www.codementor.io/@johnnyb?utm_source=github&utm_medium=button&utm_term=johnnyb&utm_campaign=github)
|
|
7
23
|
|
|
8
24
|
<a href="https://www.buymeacoffee.com/H96WwChMy" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/yellow_img.png" alt="Buy Me A Coffee"></a>
|
|
9
25
|
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
10
32
|
> Clone date objects.
|
|
11
33
|
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
12
50
|
## :cloud: Installation
|
|
13
51
|
|
|
14
52
|
```sh
|
|
@@ -20,6 +58,17 @@ yarn add clone-date
|
|
|
20
58
|
```
|
|
21
59
|
|
|
22
60
|
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
23
72
|
## :clipboard: Example
|
|
24
73
|
|
|
25
74
|
|
|
@@ -44,17 +93,31 @@ console.log(c === d);
|
|
|
44
93
|
|
|
45
94
|
|
|
46
95
|
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
47
105
|
## :question: Get Help
|
|
48
106
|
|
|
49
107
|
There are few ways to get help:
|
|
50
108
|
|
|
109
|
+
|
|
110
|
+
|
|
51
111
|
1. Please [post questions on Stack Overflow](https://stackoverflow.com/questions/ask). You can open issues with questions, as long you add a link to your Stack Overflow question.
|
|
52
112
|
2. For bug reports and feature requests, open issues. :bug:
|
|
53
|
-
|
|
54
113
|
3. For direct and quick help, you can [use Codementor](https://www.codementor.io/johnnyb). :rocket:
|
|
55
114
|
|
|
56
115
|
|
|
57
116
|
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
58
121
|
## :memo: Documentation
|
|
59
122
|
|
|
60
123
|
|
|
@@ -70,12 +133,22 @@ Clones a date object.
|
|
|
70
133
|
|
|
71
134
|
|
|
72
135
|
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
|
|
73
147
|
## :yum: How to contribute
|
|
74
148
|
Have an idea? Found a bug? See [how to contribute][contributing].
|
|
75
149
|
|
|
76
150
|
|
|
77
151
|
## :sparkling_heart: Support my projects
|
|
78
|
-
|
|
79
152
|
I open-source almost everything I can, and I try to reply to everyone needing help using these projects. Obviously,
|
|
80
153
|
this takes time. You can integrate and use these projects in your applications *for free*! You can even change the source code and redistribute (even resell it).
|
|
81
154
|
|
|
@@ -94,27 +167,52 @@ However, if you get some profit from this or just want to encourage me to contin
|
|
|
94
167
|
Thanks! :heart:
|
|
95
168
|
|
|
96
169
|
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
|
|
97
184
|
## :dizzy: Where is this library used?
|
|
98
185
|
If you are using this library in one of your projects, add it in this list. :sparkles:
|
|
99
186
|
|
|
187
|
+
- `time-picker`
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
|
|
100
197
|
|
|
101
|
-
- [`time-picker`](https://github.com/scienceai/time-picker) (by Robin Berjon)— A very simple React time picker
|
|
102
198
|
|
|
103
199
|
## :scroll: License
|
|
104
200
|
|
|
105
201
|
[MIT][license] © [Ionică Bizău][website]
|
|
106
202
|
|
|
107
203
|
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
[license]: /LICENSE
|
|
209
|
+
[website]: https://ionicabizau.net
|
|
210
|
+
[contributing]: /CONTRIBUTING.md
|
|
211
|
+
[docs]: /DOCUMENTATION.md
|
|
108
212
|
[badge_patreon]: https://ionicabizau.github.io/badges/patreon.svg
|
|
109
213
|
[badge_amazon]: https://ionicabizau.github.io/badges/amazon.svg
|
|
110
214
|
[badge_paypal]: https://ionicabizau.github.io/badges/paypal.svg
|
|
111
215
|
[badge_paypal_donate]: https://ionicabizau.github.io/badges/paypal_donate.svg
|
|
112
|
-
|
|
113
216
|
[patreon]: https://www.patreon.com/ionicabizau
|
|
114
217
|
[amazon]: http://amzn.eu/hRo9sIZ
|
|
115
218
|
[paypal-donations]: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=RVXDDLKKLQRJW
|
|
116
|
-
|
|
117
|
-
[license]: http://showalicense.com/?fullname=Ionic%C4%83%20Biz%C4%83u%20%3Cbizauionica%40gmail.com%3E%20(https%3A%2F%2Fionicabizau.net)&year=2015#license-mit
|
|
118
|
-
[website]: https://ionicabizau.net
|
|
119
|
-
[contributing]: /CONTRIBUTING.md
|
|
120
|
-
[docs]: /DOCUMENTATION.md
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "clone-date",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.14",
|
|
4
4
|
"description": "Clone date objects.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"directories": {
|
|
@@ -35,8 +35,10 @@
|
|
|
35
35
|
"menu/",
|
|
36
36
|
"cli.js",
|
|
37
37
|
"index.js",
|
|
38
|
+
"index.d.ts",
|
|
39
|
+
"package-lock.json",
|
|
38
40
|
"bloggify.js",
|
|
39
41
|
"bloggify.json",
|
|
40
42
|
"bloggify/"
|
|
41
43
|
]
|
|
42
|
-
}
|
|
44
|
+
}
|