Skip to content

Commit

Permalink
Merge pull request #228 from angrycodez/master
Browse files Browse the repository at this point in the history
Ensure ElectronicAddressSchemeIdentifiers are written with 4 digits
  • Loading branch information
stephanstapel authored Dec 14, 2023
2 parents 204a292 + 1c1233c commit 0c973b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ZUGFeRD/ElectronicAddressSchemeIdentifiers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ internal static class ElectronicAddressSchemeIdentifiersExtensions

public static string EnumToString(this ElectronicAddressSchemeIdentifiers eas)
{
return ((int)eas).ToString();
return ((int)eas).ToString("D4");
} // !ToString()
}
}

0 comments on commit 0c973b3

Please sign in to comment.