Skip to content

Fix Unix time calculation#6

Merged
mbtools merged 1 commit into
mainfrom
codex-fix-unixtime-calculation
Jul 12, 2026
Merged

Fix Unix time calculation#6
mbtools merged 1 commit into
mainfrom
codex-fix-unixtime-calculation

Conversation

@mbtools

@mbtools mbtools commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixes Unix time conversion by calculating the timestamp delta from the Unix epoch with cl_abap_tstmp=>subtract instead of manual date/time arithmetic.

Root Cause

The previous implementation converted the timestamp into date and time components, then derived seconds manually. On the target SAP system this produced timestamp-like values, causing both o_unixtime and o_epoch assertions to fail.

Validation

  • �baplint passes with 0 issues
  • ABAP Unit failures reported for TO_UNIXTIME and TO_EPOCH are addressed by the shared calculation fix

@mbtools
mbtools marked this pull request as ready for review July 12, 2026 19:39
@mbtools
mbtools merged commit c93b81c into main Jul 12, 2026
2 checks passed
@mbtools
mbtools deleted the codex-fix-unixtime-calculation branch July 12, 2026 19:39
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.

1 participant