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
#152 added a TODO because python's __format__ allows us to specify a format_spec (which in the context of Pyoda Time constitutes a "pattern", standard or otherwise).
What it doesn't allow us to do is specify a CultureInfo, naturally.
Maybe we should implement a def to_string(self, pattern, format_provider) equivalent to IFormattable.ToString()?
The text was updated successfully, but these errors were encountered:
#152 added a TODO because python's
__format__
allows us to specify aformat_spec
(which in the context of Pyoda Time constitutes a "pattern", standard or otherwise).What it doesn't allow us to do is specify a
CultureInfo
, naturally.Maybe we should implement a
def to_string(self, pattern, format_provider)
equivalent toIFormattable.ToString()
?The text was updated successfully, but these errors were encountered: