Skip to content

Releases: codaamok/PSBusinessTime

v0.3.2

05 Oct 13:26
Compare
Choose a tag to compare

Fixed

  • New-BusinessTimeSpan threw an exception in some scenarios for Windows PowerShell - see issue #1

v0.3.0

04 May 20:05
Compare
Choose a tag to compare

Changed

  • Renamed Get-ElapsedBusinessTime to New-BusinessTimeSpan, and changed parameters -StartDate and -EndDate to -Start and -End, similar to New-TimeSpan and its datetime parameters.

v0.2.2

15 Apr 20:55
Compare
Choose a tag to compare

Fixed

  • CmdletBinding attribute was in incorrect position for Add-WorkingDays. This caused PlatyPS to not generate docs properly. This fix does not provide any functional improvement to Add-WorkingDays. At this time, it is just necessary to push to source control which invokes the release pipeline.

v0.2.1

15 Apr 20:28
Compare
Choose a tag to compare

Fixed

  • Get-ElapsedBusinessTime did not return correct result if -StartDate and -EndDate were on the same day, but it was a working day, and its time for both dates were outside of working hours

v0.2.0

14 Apr 19:30
Compare
Choose a tag to compare

Added

  • New function Add-WorkingDays

v0.1.7

14 Apr 16:11
Compare
Choose a tag to compare

Changed

  • Test-WorkingDay now has parameter validation to ensure -StartHour is less then -FinishHour
  • Get-ElapsedBusinessTime now has parameter validation to ensure -StartHour is less then -FinishHour

v0.1.6

14 Apr 15:33
Compare
Choose a tag to compare

Fixed

  • Get-ElapsedBusinessTime did not return correct result if -StartDate and -EndDate were on the same day, but it was a working day, and its time for both dates were outside of working hours

v0.1.5

14 Apr 14:50
Compare
Choose a tag to compare

Fixed

  • Get-ElapsedBusinessTime did not return correct result if range between -StartHour and -FinishHour was not whole, ie was a span of time where minutes and seconds also needed consideration

v0.1.4

14 Apr 10:06
Compare
Choose a tag to compare

Fixed

  • Get-ElapsedBusinessTime did not return correct result when either the start date or end date were outside of business hours
  • Added line breaks in between each line for all comment based help

v0.1.2

13 Apr 21:29
Compare
Choose a tag to compare

Fixed

  • Get-ElapsedBusinessTime did not return correct result where the number of working days between -StartDate and -EndDate was 1 but the date range spanned more than 1 calendar day, e.g. Sunday through to Monday.