Pass date object directly to arrow for consistent humanized dates
With the previous method of using arrow, the same date object would result in different humanized dates. Apparently using now() and then replacing the date components triggers some inaccuracy. Simplify the call to arrow by passing it the datetime object directly.
Showing
Please register or sign in to comment