Skip to content

Add date/time utilities for cycle and deadline calculations #52

@big14way

Description

@big14way

Create helpers for converting between timestamps and human-readable dates.

Acceptance Criteria:

  • Add formatDeadline(timestamp) returning 'in 2 days, 5 hours'
  • Add calculateNextDeadline(currentDeadline, cycleLength)
  • Add isDeadlinePassed(deadline) boolean check
  • Handle timezone-agnostic UNIX timestamps

Files: src/utils.ts

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions