Closed SrpAlexis closed 5 years ago
Thank you for reporting this. This is indeed a bug. You can see the difference between the two commands you showed with this:
(Get-Date).ToString("o");(get-date -Date 12/12/2018).ToString("o")
Thanks @lipkau , i'm doing some test and it's can work with this way : (get-date -Year 2018 -Month 12 -Day 11)
Great it's woking with get-date -date dd/MM/yyyy)
Thanks :+1:
Description
Hi all, I try to add Issue worklog whith another date from today. I see all the time in exemple date with (Get-Date) but I don't see any other way to do it.
Steps To Reproduce
Add-JiraIssueWorklog "Comment" -Issue "666" -TimeSpent "00:30" -DateStarted (get-date -Date 11/12/2018) But work with : Add-JiraIssueWorklog "Comment" -Issue "666" -TimeSpent "00:30" -DateStarted (get-date)
Also with ((get-date).AddDays(-1)) but i whant specify the date.
I try with another time format but without any results.
Your Environment