Skip to content

Conversation

@sreuter
Copy link

@sreuter sreuter commented Nov 27, 2025

Fixes #13

  • Parse ct field from API as created timestamp
  • Add createdAt getter that converts to absolute Date
  • Make lastModifiedAt return undefined when not available (fixes root node)
  • Include createdAt, lastModifiedAt, completedAt in toJson() output
  • Fix root-level node creation (send "None" instead of "Root" as parentid)

Also includes fix from #10.

- parse `ct` field from API as `created` timestamp
- add `createdAt` getter that converts to absolute Date
- make `lastModifiedAt` return undefined when not available (fixes root node)
- include `createdAt`, `lastModifiedAt`, `completedAt` in `toJson()` output
- fix root-level node creation (send "None" instead of "Root" as parentid)
sreuter added a commit to sreuter/mcp-workflowy that referenced this pull request Nov 27, 2025
- Extend bun patch to include createdAt getter, safe lastModifiedAt,
  timestamps in toJson (createdAt, lastModifiedAt, completedAt)
- Add ct field parsing in schema
- Add rate limit error handling with retry info

Upstream PRs:
- Root fix: karelklima/workflowy#10
- Timestamps: karelklima/workflowy#12
sreuter added a commit to sreuter/mcp-workflowy that referenced this pull request Nov 27, 2025
- Extend bun patch to include createdAt getter, safe lastModifiedAt,
  timestamps in toJson (createdAt, lastModifiedAt, completedAt)
- Add ct field parsing in schema

Upstream PRs:
- Root fix: karelklima/workflowy#10
- Timestamps: karelklima/workflowy#12
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.

Add created timestamp and expose timestamps in toJson

1 participant