Resolve "Carbon diffIn method non absolute values"
Closes #3 (closed)
- Carbon v3, has breaking change related to
diffIn*method, please look at this link https://carbon.nesbot.com/docs/#api-carbon-3 , the area which has got affected is when we try and set Cookie, the value is now coming as negative, which will essentially expire the cookie immediately, I have tested this behaviour happening on testing and also on my local. Also the signature ofdiffIn*methods have changed from returninginttofloat, so I am according taking ceiling value and casting it intointfor compatibility.
Edited by Jitu