Blog Sections Open
Formatting Localized Dates in DocLister Output
A small but reusable note on making DocLister output human-readable localized dates instead of raw timestamps or rigid default formats.
Date formatting questions come up constantly in real projects because list output usually needs to feel natural for the audience, not merely valid for the database.
The donor topic here focused on showing dates in a localized Russian style through DocLister, but the pattern is broader than a single locale. The real issue is choosing where formatting should happen and how much of it belongs in the template versus the listing layer.
A good rule of thumb
- Keep storage neutral and predictable.
- Format for the reader as late as possible in the output chain.
- Make sure month names, separators, and fallback values are controlled explicitly.
Posts like this help because they preserve a truth every CMS project eventually hits: date formatting is part of UX, not just presentation polish.
Using eFilter with getSortBlock in AJAX Mode
A compact recipe for keeping eFilter and getSortBlock in sync when users change sort options over AJAX in Evolution CMS.
Using DocLister with SimpleGallery for Product Card Previews
A practical pattern for combining DocLister and SimpleGallery when product cards need a single prepared preview image.