Skip to content

Replace deprecated utcnow in skill timestamp helper #5697

Description

@Ghraven

Problem

services/memory/skill_format.py still builds skill frontmatter timestamps with datetime.utcnow(). Python deprecates this API in favor of timezone-aware UTC calls.

Suggested fix

Use datetime.now(timezone.utc) and keep the existing serialized YYYY-MM-DDTHH:MM:SSZ output shape.

Scope

Small cleanup only; no UI changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready for reviewDescription complete — ready for maintainer review

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions