Releases: ByteBaker/randomtimestamp
Releases · ByteBaker/randomtimestamp
v2.2
v2.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.
- Added functions random_date() & random_time() to the module.
- randomtimestamp() now has text = False by default.
- Order of arguments in randomtimestamp() changed. This breaks older code where arguments are passed as positionals.
- Minor documentation updates.
- Custom patterns are supported in all the functions.
Download on PyPi
v2.0.0
- Remove lower limit of 1950 for start_year.
- Add end_year to specify upper limit.
- Add start & end parameters which accept datetime objects. This allows more control over the datetime range.
- Add support for custom timestamp format through pattern parameter. Similar functionality as datetime.strftime()