Skip to content

Releases: ByteBaker/randomtimestamp

v2.3

Choose a tag to compare

@ByteBaker ByteBaker released this 22 Jun 08:17
  • Fixed #2, supporting newer Python versions.
  • Added test cases for various APIs.
  • Cleaned-up README and moved changelog to separate file.

v2.2

Choose a tag to compare

@ByteBaker ByteBaker released this 04 Apr 02:35

Fixed an issue which appeared when a datetime value in the range had microseconds in it.

v2.1

Choose a tag to compare

@ByteBaker ByteBaker released this 14 Aug 04:42
  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

v2.0.0

Choose a tag to compare

@ByteBaker ByteBaker released this 14 Aug 06:49
  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