oscarbranson / latools

Tools for the reproducible reduction of LA-ICPMS data.
http://latools.readthedocs.io
MIT License
15 stars 10 forks source link

The code of latools.helpers.helpers.get_date() wrong #35

Closed sunwillrise closed 5 years ago

sunwillrise commented 5 years ago

Hello.

I think I found a mistake in latools.helpers.helpers.get_date().

In the source,
t = dt.datetime.strftime(datetime, time_format) should be t = dt.datetime.strptime(datetime, time_format).

Fixing this worked in my environment. Hope this helps.