Skip to content

Commit

Permalink
Release 1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
popcatalin81 committed Jan 28, 2022
1 parent 02f572d commit e8b2fa2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions QBTracker/DataAccess/Repository.cs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ private void UpdateAggregatedTime(DateTime day)
{
var aggregate = GetMonthAggregate(day);

aggregate.DayAggregate[day.Day] = GetDayAggregatedDayTime(day);
aggregate.DayAggregate[day.Day-1] = GetDayAggregatedDayTime(day);
aggregate.AggregateTime = TimeSpan.FromTicks(aggregate.DayAggregate.Sum(x => x.Ticks));
Db.Upsert(aggregate, "TimeAggregates");
}
Expand Down Expand Up @@ -209,7 +209,7 @@ private TimeAggregate GetMonthAggregate(DateTime day)
});
foreach (var dailyAggregate in dailyAggregates)
{
aggregate.DayAggregate[dailyAggregate.Day] = dailyAggregate.Time;
aggregate.DayAggregate[dailyAggregate.Day-1] = dailyAggregate.Time;
}
aggregate.AggregateTime = TimeSpan.FromTicks(aggregate.DayAggregate.Sum(x => x.Ticks));
}
Expand Down
4 changes: 2 additions & 2 deletions QBTracker/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// 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.1.0.0")]
[assembly: AssemblyFileVersion("1.1.0.0")]
[assembly: AssemblyVersion("1.1.1.0")]
[assembly: AssemblyFileVersion("1.1.1.0")]

0 comments on commit e8b2fa2

Please sign in to comment.