Change parse_date to parse_datetime in project and resource defintion to handle the respective metadata correctly when using __str__ method with it.

Description

The current implementation in project.py and resource.py uses parse_date to parse date values from the API. However, the API now returns a full datetime (including both date and time), which leads to incorrect parsing and potential issues when handling datetime data.

Current Behavior

When printing a resource or project, isodate throws an ISO8601Error as a datetime object is received.

Proposed Solution

Change all occurrences of the parse_date method to parse_datetime to correctly handle the datetime object. See merge request: !21 (merged)

Edited by Leon Michel Gorißen
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information