Skip to content

Commit

Permalink
Merge branch 'master' of github.com:opensatelliteproject/goesdump
Browse files Browse the repository at this point in the history
  • Loading branch information
racerxdl committed Oct 7, 2017
2 parents b8c77b3 + 86ed54f commit 5b6088f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion XRIT/Tools/Organizer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public void Update() {
var seconds = dtstring.Substring(15, 2);
//Console.WriteLine("Year: {0}\nDay Of Year: {1}\nHours: {2}\nMinutes: {3}\nSeconds: {4}", year, dayOfYear, hours, minutes, seconds);
datetime = new DateTime(int.Parse(year), 1, 1, int.Parse(hours), int.Parse(minutes), int.Parse(seconds));
datetime = datetime.AddDays(int.Parse(dayOfYear));
datetime = datetime.AddDays(int.Parse(dayOfYear) - 1);
} else {
datetime = DateTime.Parse(dtstring, null, DateTimeStyles.RoundtripKind);
}
Expand Down

0 comments on commit 5b6088f

Please sign in to comment.