Move ActivityDay class from [log] to [controller]
This commit is contained in:
parent
a80dab2ce2
commit
d84e4f6bc5
|
@ -1143,4 +1143,21 @@ Console.WriteLine(GetAvatar (change_set.UserEmail, 32));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// All commits that happened on a day
|
||||||
|
public class ActivityDay : List <SparkleCommit>
|
||||||
|
{
|
||||||
|
|
||||||
|
public DateTime DateTime;
|
||||||
|
|
||||||
|
public ActivityDay (DateTime date_time)
|
||||||
|
{
|
||||||
|
|
||||||
|
DateTime = date_time;
|
||||||
|
DateTime = new DateTime (DateTime.Year, DateTime.Month, DateTime.Day);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -470,20 +470,4 @@ namespace SparkleShare {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// All commits that happened on a day
|
|
||||||
public class ActivityDay : List <SparkleCommit>
|
|
||||||
{
|
|
||||||
|
|
||||||
public DateTime DateTime;
|
|
||||||
|
|
||||||
public ActivityDay (DateTime date_time)
|
|
||||||
{
|
|
||||||
|
|
||||||
DateTime = date_time;
|
|
||||||
DateTime = new DateTime (DateTime.Year, DateTime.Month, DateTime.Day);
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue