7 lines
132 B
Python
7 lines
132 B
Python
|
#!/usr/bin/env python3
|
||
|
|
||
|
from datetime import datetime
|
||
|
|
||
|
def fromisoformat(str):
|
||
|
return datetime.strptime(str, '%Y-%m-%d').date()
|