Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate random data and format #3884

Open
AugustoRickes opened this issue Aug 4, 2024 · 0 comments
Open

Generate random data and format #3884

AugustoRickes opened this issue Aug 4, 2024 · 0 comments
Assignees

Comments

@AugustoRickes
Copy link

Feature Description

ERRO[0000] GoError: The moduleSpecifier "randomdatek6" couldn't be recognised as something k6 supports.
        at go.k6.io/k6/js.(*requireImpl).require-fm (native)
        at file:{path-to-my-script}  hint="script exception"

The purpose of this library is to simplify date manipulation tasks by providing two key utilities:

Random Date Generation: Create a random date between two given dates, which can be useful for generating test data or simulating events within a specific timeframe.

Date Formatting: Convert a Date object into a readable string format (YYYY-MM-DD HH:mm), making it easier to display dates in a consistent and user-friendly manner.

npm: https://www.npmjs.com/package/randomdatek6?activeTab=readme

Suggested Solution (optional)

Add support to the library

Already existing or connected issues / PRs (optional)

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants