Skip to content

Add unix timestamp and ISO date conversion route#928

Merged
davedumto merged 1 commit into
StreamFi-x:devfrom
utahkanz-ops:feat/878-unix-iso-conversion
May 31, 2026
Merged

Add unix timestamp and ISO date conversion route#928
davedumto merged 1 commit into
StreamFi-x:devfrom
utahkanz-ops:feat/878-unix-iso-conversion

Conversation

@utahkanz-ops
Copy link
Copy Markdown
Contributor

Summary

  • Added a scoped /api/routes-f/unix-date POST route for unix timestamp and ISO date conversion.

Issue

Changes

  • Supports mode: to_iso and mode: to_unix.
  • Supports unit: s and unit: ms, defaulting to seconds when omitted.
  • Handles negative timestamps for pre-1970 dates.
  • Added route-local helper/types and Jest coverage for seconds, milliseconds, negative timestamps, and round-trips.

Validation

  • git diff --check passed.
  • npm ci was attempted but timed out after 10 minutes.
  • npm ci --ignore-scripts --no-audit --no-fund was attempted but failed with ENOTEMPTY while cleaning node_modules/next/...; npm also reports the local Node v23.1.0 is outside Jest package supported engines (^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0).
  • Focused Jest tests were not run because Jest was not installed after the failed dependency install.

Notes

  • All task files are scoped under app/api/routes-f/unix-date/ per the issue constraint.
  • Re-opened against dev as requested.

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 28, 2026

@utahkanz-ops Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@davedumto davedumto merged commit e2aa3ae into StreamFi-x:dev May 31, 2026
1 of 2 checks passed
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.

feat(routes-f): unix timestamp converter

3 participants