Skip to content

Commit 0b94eb4

Browse files
committed
add logger.
1 parent ef72217 commit 0b94eb4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

climada/util/dates_times.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
"""
22
Define functions to handle dates nad times in climada
33
"""
4+
import logging
45
import datetime as dt
56

7+
LOGGER = logging.getLogger(__name__)
8+
69
def date_to_str(date):
710
""" Compute date string in ISO format from input datetime ordinal int.
811

0 commit comments

Comments
 (0)