Skip to content

Fix/list events date format store corruption#88

Merged
elgorro merged 4 commits intomainfrom
fix/list-events-date-format-store-corruption
Mar 6, 2026
Merged

Fix/list events date format store corruption#88
elgorro merged 4 commits intomainfrom
fix/list-events-date-format-store-corruption

Conversation

@elgorro
Copy link
Owner

@elgorro elgorro commented Mar 6, 2026

Description

Brief description of the changes.

Type of change

  • Bug fix
  • New feature
  • Documentation update
  • Refactoring
  • Other (please describe)

Component

  • MCP Server
  • Nextcloud App
  • Documentation
  • CI/CD

Checklist

  • I have tested my changes locally
  • I have added tests for new functionality
  • I have updated the documentation if needed
  • My code follows the project's style guidelines

Related Issues

Fixes #

Screenshots (if applicable)

elgorro and others added 4 commits March 6, 2026 16:25
…lete corrupted state files

- toICalDateTime(): bare 8-digit date (e.g. 20260307) is now expanded to
  full UTC datetime (20260307T000000Z) required by Sabre/DAV <c:time-range>,
  preventing HTTP 500 from list_events when from/to are date-only strings
- loadJson(): after logging a parse-error warning, unlink the corrupted file
  so subsequent restarts see ENOENT (silent) instead of repeating the warning

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Gives the model a reliable time anchor before creating or listing
calendar events, and to resolve scheduling ambiguities with the user.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ALE override

Replace hardcoded 'sv-SE' locale with process.env.MCP_LOCALE so localTime
uses the system locale when unset. Users can set MCP_LOCALE=sv-SE to restore
the previous ISO-like format. Documents the new env var in CLAUDE.md.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@elgorro elgorro merged commit 9847ef5 into main Mar 6, 2026
3 checks passed
@elgorro elgorro deleted the fix/list-events-date-format-store-corruption branch March 6, 2026 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant