Skip to content

Commit

Permalink
Merge pull request #349 from r-bennett/patch-1
Browse files Browse the repository at this point in the history
Fix F# code generation
  • Loading branch information
AArnott authored Jun 11, 2019
2 parents 4d75f73 + 20603ab commit b613d84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Nerdbank.GitVersioning.Tasks/AssemblyVersionInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ internal override void DeclareAttribute(Type type, string arg)

internal override void AddCommitDateProperty(long ticks)
{
this.codeBuilder.AppendLine($" static member internal GitCommitDate = new DateTimeOffset({ticks}, TimeZpan.Zero)");
this.codeBuilder.AppendLine($" static member internal GitCommitDate = new System.DateTimeOffset({ticks}L, System.TimeSpan.Zero)");
}

internal override void EndThisAssemblyClass()
Expand Down

0 comments on commit b613d84

Please sign in to comment.