1 | 1 |
deleted file mode 100644 |
... | ... |
@@ -1,69 +0,0 @@ |
1 |
-<!-- |
|
2 |
- 🛑 DON'T REMOVE ME. |
|
3 |
- This issue template apply to all |
|
4 |
- - bug reports, |
|
5 |
- - feature proposals, |
|
6 |
- - and documentation requests |
|
7 |
- |
|
8 |
- Having all those informations will allow us to know exactly |
|
9 |
- what you expect and answer you faster and precisely (answer |
|
10 |
- that matches your Carbon version, PHP version and usage). |
|
11 |
- |
|
12 |
- Note: Comments between <!- - and - -> won't appear in the final |
|
13 |
- issue (See [Preview] tab). |
|
14 |
-Hello, |
|
15 |
- |
|
16 |
-I encountered an issue with the following code: |
|
17 |
-```php |
|
18 |
-echo Carbon::parse('2018-06-01')->subDay()->month; |
|
19 |
-``` |
|
20 |
- |
|
21 |
-Carbon version: **PUT HERE YOUR CARBON VERSION (exact version, not the range)** |
|
22 |
- |
|
23 |
-PHP version: **PUT HERE YOUR PHP VERSION** |
|
24 |
- |
|
25 |
-<!-- |
|
26 |
- Run the command `composer show nesbot/carbon` |
|
27 |
- to get "versions" |
|
28 |
- Use `echo phpversion();` |
|
29 |
- to get PHP version. |
|
30 |
- |
|
31 |
- Some issues can depends on your context, settings, |
|
32 |
- macros, timezone, language. So to be sure the code |
|
33 |
- you give is enough to reproduce your bug, try it |
|
34 |
- first in: |
|
35 |
- https://try-carbon.herokuapp.com/?theme=xcode&export&embed |
|
36 |
- |
|
37 |
- You can use the [Options] button to change the version |
|
38 |
- then when you get the bug with this editor, you can use |
|
39 |
- the [Export] button, copy the link of the opened tab, |
|
40 |
- then paste it in the issue. Then we can immediatly get |
|
41 |
- your issue. |
|
42 |
- |
|
43 |
- |
|
44 |
-I expected to get: |
|
45 |
- |
|
46 |
-``` |
|
47 |
-6 |
|
48 |
-``` |
|
49 |
-<!-- |
|
50 |
- Always give your expectations. Each use has their owns. |
|
51 |
- You may want daylight saving time to be taken into account, |
|
52 |
- someone else want it to be ignored. You may want timezone |
|
53 |
- to be used in comparisons, someone else may not, etc. |
|
54 |
- |
|
55 |
-But I actually get: |
|
56 |
- |
|
57 |
-``` |
|
58 |
-5 |
|
59 |
-``` |
|
60 |
-<!-- |
|
61 |
- If you did not succeed to get the same result in |
|
62 |
- https://try-carbon.herokuapp.com/ then precise the |
|
63 |
- result you get. |
|
64 |
- |
|
65 |
-Thanks! |
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,69 @@ |
1 |
+<!-- |
|
2 |
+ 🛑 DON'T REMOVE ME. |
|
3 |
+ This issue template apply to all |
|
4 |
+ - bug reports, |
|
5 |
+ - feature proposals, |
|
6 |
+ - and documentation requests |
|
7 |
+ |
|
8 |
+ Having all those informations will allow us to know exactly |
|
9 |
+ what you expect and answer you faster and precisely (answer |
|
10 |
+ that matches your Carbon version, PHP version and usage). |
|
11 |
+ |
|
12 |
+ Note: Comments between <!- - and - -> won't appear in the final |
|
13 |
+ issue (See [Preview] tab). |
|
14 |
+--> |
|
15 |
+Hello, |
|
16 |
+ |
|
17 |
+I encountered an issue with the following code: |
|
18 |
+```php |
|
19 |
+echo Carbon::parse('2018-06-01')->subDay()->month; |
|
20 |
+``` |
|
21 |
+ |
|
22 |
+Carbon version: **PUT HERE YOUR CARBON VERSION (exact version, not the range)** |
|
23 |
+ |
|
24 |
+PHP version: **PUT HERE YOUR PHP VERSION** |
|
25 |
+ |
|
26 |
+<!-- |
|
27 |
+ Run the command `composer show nesbot/carbon` |
|
28 |
+ to get "versions" |
|
29 |
+ Use `echo phpversion();` |
|
30 |
+ to get PHP version. |
|
31 |
+ |
|
32 |
+ Some issues can depends on your context, settings, |
|
33 |
+ macros, timezone, language. So to be sure the code |
|
34 |
+ you give is enough to reproduce your bug, try it |
|
35 |
+ first in: |
|
36 |
+ https://try-carbon.herokuapp.com/?theme=xcode&export&embed |
|
37 |
+ |
|
38 |
+ You can use the [Options] button to change the version |
|
39 |
+ then when you get the bug with this editor, you can use |
|
40 |
+ the [Export] button, copy the link of the opened tab, |
|
41 |
+ then paste it in the issue. Then we can immediatly get |
|
42 |
+ your issue. |
|
43 |
+--> |
|
44 |
+ |
|
45 |
+ |
|
46 |
+I expected to get: |
|
47 |
+ |
|
48 |
+``` |
|
49 |
+6 |
|
50 |
+``` |
|
51 |
+<!-- |
|
52 |
+ Always give your expectations. Each use has their owns. |
|
53 |
+ You may want daylight saving time to be taken into account, |
|
54 |
+ someone else want it to be ignored. You may want timezone |
|
55 |
+ to be used in comparisons, someone else may not, etc. |
|
56 |
+--> |
|
57 |
+ |
|
58 |
+But I actually get: |
|
59 |
+ |
|
60 |
+``` |
|
61 |
+5 |
|
62 |
+``` |
|
63 |
+<!-- |
|
64 |
+ If you did not succeed to get the same result in |
|
65 |
+ https://try-carbon.herokuapp.com/ then precise the |
|
66 |
+ result you get. |
|
67 |
+--> |
|
68 |
+ |
|
69 |
+Thanks! |