Open Raymondkltse opened 4 months ago
my workaround now to replace the following code in utils.py
settings = {
#'RELATIVE_BASE': datetime.today().replace(minute=0, hour=0, second=0, microsecond=0)
'RELATIVE_BASE': datetime.now()
}
@Raymondkltse can you create a PR for that ?
Thanks for the fix :)
the code look for the aabr element inside a post/comment. somehow for post recently added (within 24 hour) the aabr shown as example: 1 hour ago 34 minutes ago 20 hrs
there is a missing ago in the last example, and also the parse_datetime would do the 1 hour ago by assuming now at today midnight.