date_snap 1.0.1
date_snap: ^1.0.1 copied to clipboard
A lightweight Flutter package for localized date formatting and relative time calculation. Supports English & Bengali.
1.0.1 #
- New Feature: Added
isFullparameter intoFormattedDateto support both01/02/2026and01 Feb 2026styles. - New Feature: Added
timeLeft()extension for countdowns or deadlines (e.g., "2d left", "৫ ঘণ্টা বাকি"). - New Feature: Precise
agecalculation returning a Map with years, months, and days. - New Feature: Business logic helpers:
isWeekend(BD Standard),isSameDay(), andisBetween(). - New Feature: Navigation helpers:
startOfMonth,endOfMonth,nextDay, andpreviousDay. - Improved: Full Extension-based API for a more modern and cleaner developer experience.
- Localization: Focused support for English (EN) and Bengali (BN) across all functions.
1.0.0 #
- Initial release of Date Snap.
- Added support for
toFormattedDate(English, Bengali, and Arabic digit support). - Added support for
toTimeAgowith multilingual message mapping. - Zero-dependency architecture for lightweight performance.