commit 3aa5ff92784da2378c3d066eb5d37d3a55cd33af
parent 06d46310ceb55f84d44f968bd9bc72608e2b28ed
Author: René Wagner <rwagner@rw-net.de>
Date: Wed, 22 Jul 2020 10:51:39 +0200
fix ~rwa/misc#36
Diffstat:
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/WorkTimeHero/MainForm.cs b/WorkTimeHero/MainForm.cs
@@ -36,7 +36,7 @@ namespace WorkTimeHero
individualBreakTime = Settings.Default.IndividualBreakTime;
cboIndividualBreak.Checked = true;
}
- DateTime startTime = Settings.Default.StartTime.Date == DateTime.Now.Date ? Settings.Default.StartTime : DateTime.Now;
+ DateTime startTime = Settings.Default.StartTime.Date == DateTime.Now.Date ? Settings.Default.StartTime : (DateTime.Now + new TimeSpan(0, (int)Settings.Default.StartTimePreamp, 0));
wtc = new WorkTimeCalculator(startTime , Settings.Default.TargetTime, individualBreakTime, Settings.Default.CurrentBreakStartTime);
dtpIndividualBreak.Value = DateTime.Now.Date.Add(wtc.PlannedBreakTime);
diff --git a/WorkTimeHero/Properties/AssemblyInfo.cs b/WorkTimeHero/Properties/AssemblyInfo.cs
@@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.5.1.0")]
-[assembly: AssemblyFileVersion("1.5.1.0")]
+[assembly: AssemblyVersion("1.5.2.0")]
+[assembly: AssemblyFileVersion("1.5.2.0")]