Log in
Model

LocalizedFileName

Magento\ImportExport\Model\LocalizedFileName

What it does

This class handles the localization of filenames that contain dates by converting UTC timestamps in filenames to the store's configured timezone.

Developers use this when displaying import/export filenames to users, ensuring dates appear in the user's local timezone rather than UTC.

It's primarily used in the admin panel when showing uploaded or generated files with timestamps in their names.

Public Methods

  • getFileDisplayName()