Skip to content

Commit

Permalink
Specify time system in DateTime.toString()
Browse files Browse the repository at this point in the history
  • Loading branch information
r-owen committed Sep 12, 2016
1 parent 9dd4283 commit 24657dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin.src/genInputRegistry.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def processRawDir(rawDir, conn, done, qsp):
expTime = md.get("EXPTIME")
mjdObs = md.get("MJD-OBS")
taiObs = dafBase.DateTime(mjdObs, dafBase.DateTime.MJD,
dafBase.DateTime.TAI).toString()[:-1]
dafBase.DateTime.TAI).toString(dafBase.DateTime.UTC)[:-1]
conn.execute("""INSERT INTO raw VALUES
(NULL, ?, ?, ?, ?)""",
(visit, filterName, taiObs, expTime))
Expand Down

0 comments on commit 24657dd

Please sign in to comment.