More Calendar!

This commit is contained in:
Mark McDowall 2013-02-24 16:00:17 -08:00
commit ed3a503342
21 changed files with 72 additions and 54 deletions

View file

@ -23,7 +23,9 @@ namespace NzbDrone.Api.Calendar
private Response Calendar()
{
var year = DateTime.Now.Year;
var month = DateTime.Now.Month;
//Todo: This is just for testing
//var month = DateTime.Now.Month;
var month = 1;
var yearQuery = Request.Query.Year;
var monthQuery = Request.Query.Month;

View file

@ -13,7 +13,8 @@ namespace NzbDrone.Api.Calendar
public String EpisodeTitle { get; set; }
public Int32 SeasonNumber { get; set; }
public Int32 EpisodeNumber { get; set; }
public DateTime? AirTime { get; set; }
public DateTime Start { get; set; }
public DateTime End { get; set; }
public Int32 Status { get; set; }
public String Overview { get; set; }
}