Randomtimestamp

Latest version: v2.2

Safety actively analyzes 681812 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

2.1

1. Dropped a minor version identifier to account for the small size of project. Only two digits will be used hereafter for all version identifiers.
2. Added functions **random_date()** & **random_time()** to the module.
3. **randomtimestamp()** now has **text = False** by default.
4. Order of arguments in **randomtimestamp()** changed. This breaks older code where arguments are passed as positionals.
5. Minor documentation updates.

- Custom patterns are supported in all the functions.
[Download on PyPi](https://pypi.org/project/randomtimestamp/2.1/)

2.0.0

1. Remove lower limit of 1950 for **start_year**.
2. Add **end_year** to specify upper limit.
3. Add **start** & **end** parameters which accept datetime objects. This allows more control over the datetime range.
4. Add support for custom timestamp format through **pattern** parameter. Similar functionality as **datetime.strftime()**

[Download on PyPi](https://pypi.org/project/randomtimestamp/2.0.0/)

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.