Skip to content
Commits on Source (2)
......@@ -12,7 +12,7 @@ See the [main page](https://rg3.github.io/youtube-dl/) for youtube-dl for more i
* For DotNet Core apps, edit your project.json dependencies
"NYoutubeDL": "0.5.0"
"NYoutubeDL": "0.5.1"
* Manually [download](https://www.nuget.org/packages/NYoutubeDL/) nupkg from NuGet Gallery.
......
......@@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>0.5.0</Version>
<Version>0.5.1</Version>
<Authors>Brian Allred</Authors>
<Company />
<Product />
......@@ -13,7 +13,7 @@
<PackageProjectUrl>http://github.com/brianallred/nyoutubedl</PackageProjectUrl>
<PackageTags>youtube-dl</PackageTags>
<NeutralLanguage></NeutralLanguage>
<AssemblyVersion>0.5.0.0</AssemblyVersion>
<AssemblyVersion>0.5.1.0</AssemblyVersion>
</PropertyGroup>
<ItemGroup>
......
......@@ -82,27 +82,27 @@ namespace NYoutubeDL.Options
/// <summary>
/// --date
/// </summary>
public DateTime Date
public DateTime? Date
{
get => this.date.Value ?? new DateTime();
get => this.date.Value;
set => this.SetField(ref this.date.Value, value);
}
/// <summary>
/// --dateafter
/// </summary>
public DateTime DateAfter
public DateTime? DateAfter
{
get => this.dateAfter.Value ?? new DateTime();
get => this.dateAfter.Value;
set => this.SetField(ref this.dateAfter.Value, value);
}
/// <summary>
/// --datebefore
/// </summary>
public DateTime DateBefore
public DateTime? DateBefore
{
get => this.dateBefore.Value ?? new DateTime();
get => this.dateBefore.Value;
set => this.SetField(ref this.dateBefore.Value, value);
}
......