Skip to content

[BUG] secondstoTimestamp not working correctly in 4.2 #3881

@sackboydad

Description

@sackboydad

Make sure you're on the latest stable or beta build

  • I have tested this on the latest stable or beta release

Is this a bug in companion itself or a module?

  • I believe this to be a bug in companion and not a specific module

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

The SecondsToTimestamp function does not seem to be working correctly in v4.2. in v4.16 if I used SecondsTo Timestamp(385786) - or a variable that equals 385786 - it would return 107:09:46. However, if I use the exact same function in v4.2.3 it will return 11:09:46. This also happens on the current Beta of 4.30+8842 MacOS 26.2.

We use this all the time to calculate how many seconds from now until Sunday at 10:56:43. It's like the secondstotimestamp function can't handle more than 24 hours any more.

Steps To Reproduce

No response

Expected Behavior

No response

Environment (please complete the following information)

- OS: MacOS 26.2
- Browser: Safari
- Companion Version: 4.23, 4.30+8842

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BUGSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions