Skip to content

Commit 9597ea6

Browse files
committed
Revert "docs: add v1.1.0 frontmatter documentation and split spec (#2)"
This reverts commit 1900232.
1 parent 1900232 commit 9597ea6

7 files changed

Lines changed: 125 additions & 519 deletions

File tree

AGENTS.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -149,23 +149,6 @@ taskmark-spec/
149149

150150
**Invalid Date Handling:** Warn at `file:line`, ignore field, continue parsing
151151

152-
### YAML Front Matter
153-
154-
**Supported Fields:**
155-
156-
| Field | Purpose | Example |
157-
|-------|---------|---------|
158-
| `locale` | Natural language date parsing + default output format | `en_US`, `fr_FR` |
159-
| `timezone` | Default timezone for dates without explicit timezone | `America/New_York`, `UTC` |
160-
| `date_format` | Output date format (strftime), overrides locale | `%Y-%m-%d`, `%d/%m/%Y` |
161-
162-
**File Scope Rules:**
163-
164-
- Front matter applies ONLY to the current file
165-
- Linked files retain their own front matter
166-
- No inheritance of front matter between files
167-
- Default: system locale/timezone, ISO 8601 output (`YYYY-MM-DD`)
168-
169152
### Section Headers and Inheritance
170153

171154
```markdown

TODO.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,25 @@
22

33
Project roadmap and tasks for the TaskMark specification.
44

5+
## v1.1.0 - Frontmatter Enhancements +taskmark-spec/v1.1.0 #documentation
6+
7+
### Locale and Date Handling
8+
9+
- [ ] Document `locale` frontmatter field ~2h
10+
- Used for parsing natural language dates and recurrence patterns
11+
- When set (without `date_format`), output uses locale's default date format instead of ISO
12+
- [ ] Document `date_format` frontmatter field ~1h
13+
- Accepts strftime patterns (e.g., `%d/%m/%Y`)
14+
- Overrides locale default format when both are set
15+
- [ ] Document that default output format is ISO 8601 (`YYYY-MM-DD`) when no locale/date_format set ~30m
16+
17+
### File-Scoped Frontmatter
18+
19+
- [ ] Document that `timezone` only applies to the current file ~30m
20+
- [ ] Document that `locale` only applies to the current file ~30m
21+
- [ ] Document that `date_format` only applies to the current file ~30m
22+
- [ ] Document that imported files retain their own frontmatter settings ~1h
23+
524
## v1.2.0 - Documentation Updates +taskmark-spec/v1.2.0 #documentation
625

726
- [ ] Document `@user` assignees in headers for inheritance ~1h

docs/spec/compatibility.md

Lines changed: 0 additions & 119 deletions
This file was deleted.

docs/spec/examples.md

Lines changed: 0 additions & 138 deletions
This file was deleted.

0 commit comments

Comments
 (0)