worktimehero

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.clttr.info/worktimehero.git
Log | Files | Refs | README | LICENSE

commit 06d46310ceb55f84d44f968bd9bc72608e2b28ed
parent 5d2e87e6a781af7107a5e5f940633470310cff13
Author: René Wagner <rwagner@rw-net.de>
Date:   Mon, 20 Jul 2020 20:36:28 +0200

fix initial display of starttime

Diffstat:
MREADME.md | 2++
MWorkTimeHero/MainForm.cs | 2+-
MWorkTimeHero/Properties/AssemblyInfo.cs | 4++--
Ascreenshot.png | 0
4 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md @@ -4,6 +4,8 @@ Kleines Windows-Tool zum Erfassen der täglichen Arbeitszeit. https://git.sr.ht/~rwa/worktimehero +![Screenshot of WorkTimeHero](/screenshot.png "Screenshot") + ## Funktionen - Startet Zeiterfassung automatisch beim Programmstart - versteckt sich im Systemtray mit einem kleinen Icon diff --git a/WorkTimeHero/MainForm.cs b/WorkTimeHero/MainForm.cs @@ -41,7 +41,7 @@ namespace WorkTimeHero wtc = new WorkTimeCalculator(startTime , Settings.Default.TargetTime, individualBreakTime, Settings.Default.CurrentBreakStartTime); dtpIndividualBreak.Value = DateTime.Now.Date.Add(wtc.PlannedBreakTime); dtpTargetTime.Value = DateTime.Now.Date.Add(Settings.Default.TargetTime); - dtpStartTime.Value = DateTime.Now.Date.Add(Settings.Default.StartTime.TimeOfDay); + dtpStartTime.Value = DateTime.Now.Date.Add(startTime.TimeOfDay); RefreshDisplay(); if (File.Exists(startUpFolderPathLink)) 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.0.0")] -[assembly: AssemblyFileVersion("1.5.0.0")] +[assembly: AssemblyVersion("1.5.1.0")] +[assembly: AssemblyFileVersion("1.5.1.0")] diff --git a/screenshot.png b/screenshot.png Binary files differ.