Skip to content

Remove ignore argument

Compare
Choose a tag to compare
@mokhosh mokhosh released this 08 Sep 13:09
· 25 commits to main since this release

People who need to ignore jalali conversion can rely on when and unless methods.

TextColumn::make('created_at')
    ->when($condition, fn (TextColumn $column) => $column->jalaliDate()),
TextColumn::make('updated_at')
    ->unless($condition, fn (TextColumn $column) => $column->jalaliDateTime()),