Skip to content

Feature Request: Support custom timestamps in note frontmatter #238

@groksrc

Description

@groksrc

Feature Request

Users should be able to include a custom timestamp in the frontmatter of their notes to override the default file creation/modification time.

Use Case

When importing notes from other systems or creating historical records, users need the ability to set specific dates and times for their notes rather than using the current timestamp.

Proposed Implementation

Allow users to include a date or timestamp field in the YAML frontmatter:

---
title: Meeting Notes
date: 2024-03-15T14:30:00
tags: [meeting, project-x]
---

The timestamp should support standard ISO 8601 format and be used for:

  • Display in the UI
  • Sorting notes chronologically
  • Search filters by date range
  • Activity timeline

Additional Considerations

  • Should support both date-only (2024-03-15) and full datetime formats
  • Timezone handling (assume local timezone if not specified?)
  • Backward compatibility with existing notes without timestamps
  • How this interacts with the existing file modification time tracking

Benefits

  • Better support for importing historical data
  • More accurate chronological organization
  • Improved workflow for users migrating from other note-taking systems
  • Ability to backdate notes when documenting past events

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions