You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is better than printing Some(31/12/2010 00:00:00) but not the expected value of Freitag, 31. Dezember 2010.
Option<T> could be made to integrate better with string formatting by making it implement IFormattable and then format the value (when Some) using the format and IFormatProvider passed to IFormattable.ToString().
The text was updated successfully, but these errors were encountered:
atifaziz
added a commit
to atifaziz/Optional
that referenced
this issue
Dec 23, 2016
This is a follow-on issue from #17.
If #19 is merged then the issue of formatting still remains; that is, the following:
will print:
This is better than printing
Some(31/12/2010 00:00:00)
but not the expected value ofFreitag, 31. Dezember 2010
.Option<T>
could be made to integrate better with string formatting by making it implementIFormattable
and then format the value (whenSome
) using the format andIFormatProvider
passed toIFormattable.ToString()
.The text was updated successfully, but these errors were encountered: