Skip to content

Commit

Permalink
Fixed bug where current activity would be shown in day breakdown from…
Browse files Browse the repository at this point in the history
… past days.
  • Loading branch information
Robin Weitzel committed Dec 7, 2018
1 parent 661043c commit 904feaa
Show file tree
Hide file tree
Showing 21 changed files with 17 additions and 17 deletions.
Binary file modified .vs/TimeTracker/v15/.suo
Binary file not shown.
Binary file modified .vs/TimeTracker/v15/Server/sqlite3/storage.ide-shm
Binary file not shown.
Binary file modified .vs/TimeTracker/v15/Server/sqlite3/storage.ide-wal
Binary file not shown.
2 changes: 1 addition & 1 deletion TimeTracker/HTMLDataWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public string getData(int value)
var records = csv.GetRecords<TimeTracker.Helper.Activity>();
today_activities = records.Where(r => r.To >= day_in_question && r.From < day_in_question_after).ToList();

if (Variables.currentActivity != null)
if (Variables.currentActivity != null && day_in_question_after > DateTime.Now)
today_activities.Add(Variables.currentActivity);

List<Event> Events = today_activities.Select(ta => new Event
Expand Down
Binary file modified TimeTracker/WiX Installer/TimeTrackerSetup.msi
Binary file not shown.
2 changes: 1 addition & 1 deletion TimeTracker/WiX Installer/TimeTrackerSetup.wixobj

Large diffs are not rendered by default.

Binary file modified TimeTracker/WiX Installer/TimeTrackerSetup.wixpdb
Binary file not shown.
Binary file modified TimeTracker/bin/x64/Debug/GPUCache/data_0
Binary file not shown.
Binary file modified TimeTracker/bin/x64/Debug/GPUCache/data_1
Binary file not shown.
2 changes: 1 addition & 1 deletion TimeTracker/bin/x64/Debug/TimeTracker.application
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>BNg9bAH54mkL2e5I9uECvQ6qJqBQnPGpAypgu0oK4kY=</dsig:DigestValue>
<dsig:DigestValue>HSUZIZ3SGo/P2y1RUP4OCKcGw1459ct75R1gKi7jVF4=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
Expand Down
Binary file modified TimeTracker/bin/x64/Debug/TimeTracker.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion TimeTracker/bin/x64/Debug/TimeTracker.exe.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>dbEMp2lOvU/Axc+PmfguXI6G6p/T09RErtXI0gbJcCY=</dsig:DigestValue>
<dsig:DigestValue>LRwK9NOTcZHe/GEyK7QmE/UYGJk/vgMPW6Dvf0FbGaE=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
Expand Down
Binary file modified TimeTracker/bin/x64/Debug/TimeTracker.pdb
Binary file not shown.
Binary file modified TimeTracker/bin/x64/Debug/app.publish/TimeTracker.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion TimeTracker/obj/x64/Debug/TimeTracker.application
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>BNg9bAH54mkL2e5I9uECvQ6qJqBQnPGpAypgu0oK4kY=</dsig:DigestValue>
<dsig:DigestValue>HSUZIZ3SGo/P2y1RUP4OCKcGw1459ct75R1gKi7jVF4=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
85b310e5ac216ebe10cb76b43c0094650f3a6d62
0171e550ee76b6323cfccc11e5bb866eecfd4755
Binary file modified TimeTracker/obj/x64/Debug/TimeTracker.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion TimeTracker/obj/x64/Debug/TimeTracker.exe.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" />
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha256" />
<dsig:DigestValue>dbEMp2lOvU/Axc+PmfguXI6G6p/T09RErtXI0gbJcCY=</dsig:DigestValue>
<dsig:DigestValue>LRwK9NOTcZHe/GEyK7QmE/UYGJk/vgMPW6Dvf0FbGaE=</dsig:DigestValue>
</hash>
</dependentAssembly>
</dependency>
Expand Down
Binary file modified TimeTracker/obj/x64/Debug/TimeTracker.pdb
Binary file not shown.
6 changes: 3 additions & 3 deletions TimeTracker/obj/x64/Debug/TimeTracker_MarkupCompile.cache
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
winexe
C#
.cs
C:\Users\Robin\source\repos\WindowsTimeTracker\TimeTracker\obj\x64\Debug\
C:\Users\Robin\Source\Repos\WindowsTimeTracker\TimeTracker\obj\x64\Debug\
TimeTracker
none
false
DEBUG;TRACE
C:\Users\Robin\source\repos\WindowsTimeTracker\TimeTracker\App.xaml
C:\Users\Robin\Source\Repos\WindowsTimeTracker\TimeTracker\App.xaml
7-365385716
121304485923
14605311057
99-421979203
99-1547203427
CustomToast.xaml;HTMLDataWindow.xaml;MainWindow.xaml;ManualEdit.xaml;NewVersion.xaml;SettingsWindow.xaml;Tutorial.xaml;

False
Expand Down
14 changes: 7 additions & 7 deletions TimeTracker/obj/x64/Debug/TimeTracker_MarkupCompile.lref
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@


FC:\Users\Robin\source\repos\WindowsTimeTracker\TimeTracker\CustomToast.xaml;;
FC:\Users\Robin\source\repos\WindowsTimeTracker\TimeTracker\HTMLDataWindow.xaml;;
FC:\Users\Robin\source\repos\WindowsTimeTracker\TimeTracker\MainWindow.xaml;;
FC:\Users\Robin\source\repos\WindowsTimeTracker\TimeTracker\ManualEdit.xaml;;
FC:\Users\Robin\source\repos\WindowsTimeTracker\TimeTracker\NewVersion.xaml;;
FC:\Users\Robin\source\repos\WindowsTimeTracker\TimeTracker\SettingsWindow.xaml;;
FC:\Users\Robin\source\repos\WindowsTimeTracker\TimeTracker\Tutorial.xaml;;
FC:\Users\Robin\Source\Repos\WindowsTimeTracker\TimeTracker\CustomToast.xaml;;
FC:\Users\Robin\Source\Repos\WindowsTimeTracker\TimeTracker\HTMLDataWindow.xaml;;
FC:\Users\Robin\Source\Repos\WindowsTimeTracker\TimeTracker\MainWindow.xaml;;
FC:\Users\Robin\Source\Repos\WindowsTimeTracker\TimeTracker\ManualEdit.xaml;;
FC:\Users\Robin\Source\Repos\WindowsTimeTracker\TimeTracker\NewVersion.xaml;;
FC:\Users\Robin\Source\Repos\WindowsTimeTracker\TimeTracker\SettingsWindow.xaml;;
FC:\Users\Robin\Source\Repos\WindowsTimeTracker\TimeTracker\Tutorial.xaml;;

0 comments on commit 904feaa

Please sign in to comment.