Skip to content

Commit c47965f

Browse files
committed
Tidy
1 parent 3725bb4 commit c47965f

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

scalars/contributed/ayushvora10/year-month.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
# YearMonth — GraphQL Custom Scalar
44

5-
"Author - ayushvora10"
5+
Author - ayushvora10
66

7-
"Date - 2024-07-27"
7+
Date - 2024-07-27
88

99
**License and Copyright**
1010

@@ -21,10 +21,10 @@ This can be used for records that are monthly in nature. Eg. a monthly sales for
2121

2222
# Name
2323

24-
`YearMonth` inspired by [Java](https://docs.oracle.com/javase/8/docs/api/java/time/YearMonth.html)
24+
`YearMonth`, inspired by [Java](https://docs.oracle.com/javase/8/docs/api/java/time/YearMonth.html)
2525

26-
Or `ISO8601YearMonth`
27-
Or just `Month`?
26+
Or `ISO8601YearMonth`\
27+
Or just `Month`?\
2828
`ISO8601Month`?
2929

3030
# Result spec
@@ -48,7 +48,7 @@ The result must be an ISO 8601 extended format string with just the year and mon
4848
| `2024-07-01` | Full date is not expected, precision must only be up to month |
4949
| `2024-07-01T00:00:00Z` | Full date-time is not expected, precision must only be up to month |
5050
| `07-2024` | Should be YYYY-MM, not the other way |
51-
| `2024-00` | Month must be 1-indexed, not 0-indexed: Jan = 01, Dec = 12 |
51+
| `2024-00` | Month must be 1-indexed, not 0-indexed: Jan is 01, Dec is 12 |
5252
| `202407` | Hyphen missing; ISO recommends the “basic format (one without hyphens) should be avoided in plain text” |
5353
| `2024/07` | Slash instead of hyphen |
5454
| `2024` | Incomplete - month missing |
@@ -77,4 +77,3 @@ For input, _any valid ISO 8601 string_ is allowed.
7777
# References
7878

7979
- [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
80-
List external references, other background information etc.

0 commit comments

Comments
 (0)