Closed kowach closed 4 years ago
Can you please provide a full string example and the version that you use? So far I can't reproduce the issue.
I also cannot reproduce issue, and my code snippets are as follows:
>>> use \Tamtamchik\NameCase\Formatter;
>>> Formatter::nameCase('J.D.');
=> "J.D."
>>> Formatter::nameCase('J. D.');
=> "J. D."
@kowach Can you please provide an example code along with the namecase version you use?
Thanks!
I'm not sure any more. Data was in the database. I think I had "J. D." and "J.d." originally in DB and lazy mode was On (by default) so it did't changed it. It worked as documented :)
Thank you for the feedback and for using namecase.
"J. D." leaves as it is, but "J.D." converts to "J.d."