Skip to content

Commit 231cdae

Browse files
Update src/pendulum/duration.py
Co-authored-by: Vasco Schiavo <[email protected]>
1 parent b1b3577 commit 231cdae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pendulum/duration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ def in_words(
284284
unit = f"units.second.{loaded_locale.plural(0)}"
285285
if self.microseconds != 0:
286286
microseconds = abs(self.microseconds) / 1e6
287-
count = f"{round(microseconds, ndigits=seconds_n_decimal)}"
287+
count = str({round(microseconds, ndigits=seconds_n_decimal)})
288288
else:
289289
unit = f"units.microsecond.{loaded_locale.plural(0)}"
290290
translation = loaded_locale.translation(unit)

0 commit comments

Comments
 (0)