Pascale
Explore posts from serversProblem with month translation in Filters - related to Carbon?
We have a very interesting issue with months translated through
src/Filters/QueryBuilder/Constraints/DateConstraint/Operators/IsMonthOperator.php:getMonths()
:
Result:
The list of month is off since a little bit:
However this problem is not related to filament, it seems to be a bug with Carbon, confirmed via the Carbon SandBox:
https://play.phpsandbox.io/embed/nesbot/carbon
what would work is adding setDay(1).
Does anyone have any idea what causes this? Should I open a PR to add this to filament?
Carbon Issue: https://github.com/briannesbitt/Carbon/issues/30975 replies
How to handle improper encoding / encoding conversion in Importer Actions?
clients provide csv files that are encoded with windows-1255, however the importer should be able to convert the encoding to utf-8. Usually,
mb_convert_encoding
would do the trick, however I am unsure how to apply this to the csv importer action.
Any hints?4 replies