From 7ae376f0775eddcfc77a8dfaaf8fd21a0a75f848 Mon Sep 17 00:00:00 2001 From: Eddie McWhirter <emcwhirter@usgs.gov> Date: Fri, 26 Jun 2015 09:33:06 -0600 Subject: [PATCH] Add a colon between minutes and seconds. --- geomagio/pcdcp/PCDCPFactory.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/geomagio/pcdcp/PCDCPFactory.py b/geomagio/pcdcp/PCDCPFactory.py index c5fb2c0f4..7f30568c2 100644 --- a/geomagio/pcdcp/PCDCPFactory.py +++ b/geomagio/pcdcp/PCDCPFactory.py @@ -144,8 +144,9 @@ class PCDCPFactory(TimeseriesFactory): endHour = str(int(ending/60.0)) endMinute = str(int(ending%60.0)) - start = year + yearday + "T" + startHour + ":" + startMinute + "00.0" - end = year + yearday + "T" + endHour + ":" + endMinute + "00.0" + start = year + yearday + "T" + startHour + ":" + \ + startMinute + ":" + "00.0" + end = year + yearday + "T" + endHour + ":" + endMinute + ":" + "00.0" starttime = obspy.core.UTCDateTime(start) endtime = obspy.core.UTCDateTime(end) -- GitLab