Add date fixer functions
This commit is contained in:
16
README.md
16
README.md
@@ -190,6 +190,22 @@ When editing a page, click the code block button (angle brackets icon `<>`) in t
|
||||
|
||||
This complements DokuWiki's built-in monospace formatting (`''`) by providing quick access to HTML code blocks.
|
||||
|
||||
### 0.1) Editor toolbar: Date Fix
|
||||
|
||||
The plugin adds two toolbar buttons for normalizing timestamps while editing:
|
||||
|
||||
- **Date Fix**: Converts the selected timestamp to `YYYY-MM-DD` (or `YYYY-MM-DD HH:MM:SS` if time is included).
|
||||
- **Date Fix (All)**: Scans the whole page and normalizes any recognizable timestamps.
|
||||
|
||||
Supported input examples include:
|
||||
|
||||
- `2026-01-30`
|
||||
- `30.01.2026`
|
||||
- `30 Jan 2026`
|
||||
- `Jan 30, 2026`
|
||||
- `2026-01-30 13:45`
|
||||
- `2026-01-30T13:45:00`
|
||||
|
||||
### 1) List files by glob pattern
|
||||
|
||||
The `{{directory>...}}` syntax (or `{{files>...}}` for backwards compatibility) can handle both directory listings and glob patterns. When a glob pattern is used, it renders as a table:
|
||||
|
||||
Reference in New Issue
Block a user