Closed goneafk closed 3 years ago
https://github.com/ParadoxGuitarist/jamf2snipe/blob/4264dda403b878ac1bcdb190c9cfec2f69f44bb9/jamf2snipe#L447
I was troubleshooting why I'm getting these warnings when the purchase date is set correctly.
This particular line is comparing the input versus what's returned from Snipe after.
It fails on Purchase Date because it's sending YYYY-MM-DD but getting back YYYY-MM-DD 00:00:00.
YYYY-MM-DD
YYYY-MM-DD 00:00:00
u'2015-04-25' vs u'2015-04-25 00:00:00'
u'2015-04-25'
u'2015-04-25 00:00:00'
It is setting the attribute, just not validating it correctly.
I think I have this fixed with https://github.com/ParadoxGuitarist/jamf2snipe/pull/56
Yep, merged! Thanks! (sorry it took so long)
https://github.com/ParadoxGuitarist/jamf2snipe/blob/4264dda403b878ac1bcdb190c9cfec2f69f44bb9/jamf2snipe#L447
I was troubleshooting why I'm getting these warnings when the purchase date is set correctly.
This particular line is comparing the input versus what's returned from Snipe after.
It fails on Purchase Date because it's sending
YYYY-MM-DD
but getting backYYYY-MM-DD 00:00:00
.u'2015-04-25'
vsu'2015-04-25 00:00:00'
It is setting the attribute, just not validating it correctly.