Closed kbond closed 1 year ago
You mean it's literally outputting 1 second|%count% seconds
?
You mean it's literally outputting 1 second|%count% seconds?
Yes
What does $seconds
look like by the time it gets here? https://github.com/KnpLabs/KnpTimeBundle/blob/main/src/DateTimeFormatter.php#L56
1.0
, 2.0
, etc
Found the problem, I'm not passing %count%
to https://github.com/KnpLabs/KnpTimeBundle/blob/3fe79604a94c0f77fc28613e9fc45b6ce665ecf6/src/DateTimeFormatter.php#L76
Thanks Kevin!
Pluralization is not being triggered for the new duration translations:
I can't immediately see the issue...