HF RL Explorer

Task: Format Dates Properly When Stored in Python Lists

Task: Format Dates Properly When Stored in Python Lists: a task in Terminal-Lego-15k (Harbor dataset). When working with Python's datetime module, printing a date directly shows a nicely formatted string (e.g., 2008-11-22 ). However, when dates are stored in a list and the list is printed, the…

The task

When working with Python's `datetime` module, printing a date directly shows a nicely formatted string (e.g., `2008-11-22`). However, when dates are stored in a list and the list is printed, the output shows the internal representation (e.g., `[datetime.date(2008, 11, 22)]`) instead of the human-readable format.

Part of PrimeIntellect/Terminal-Lego-15k.