HF RL Explorer

Title: relative time / decimal relative time raises TypeError when called with an aware datetime and no…

Title: relative time / decimal relative time raises TypeError when called with an aware datetime and no…: a task in repo2rlenv-swe-next (Harbor dataset). When you call decimal relative time() or relative time() with a timezone-aware datetime and omit the other argument, a TypeError is raised…

The task

When you call `decimal_relative_time()` or `relative_time()` with a timezone-aware datetime and omit the `other` argument, a `TypeError` is raised because the internally-computed default comparison time is always naive.

Part of FineEnvs/repo2rlenv-swe-next.