Skip to content

Releases: ByteBaker/randomtimestamp

v2.3

22 Jun 08:17

Choose a tag to compare

  • Fixed #2, supporting newer Python versions.
  • Added test cases for various APIs.
  • Cleaned-up README and moved changelog to separate file.

v2.2

04 Apr 02:35

Choose a tag to compare

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

v2.1

14 Aug 04:42

Choose a tag to compare

  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

14 Aug 06:49

Choose a tag to compare

  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