PackageTrack
Sign in Get early access

bangla_utilities

A utility library for Bangla date-time and number conversion.

2.0.2 smjxpro/bangla_utilities_dart

What this package is like to depend on

Last release 2 months ago

12 Jun 2026

Release timing varies

gaps range from 4 months to 4.0 years

Nearly every release is documented

notes for 9 of 9 stable releases

Nothing withdrawn

no release was ever pulled

6 years old

9 releases · first in 2020

3 releases in the last 12 months

see the full history below

Release timeline

9 releases · Jun 2020 to Jun 2026
2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 9
  1. 2.0.2 12 Jun 2026
    Release notes

    Bug fixes:

    • Fixed README.md file.
    Open source →
  2. 2.0.1 12 Jun 2026
    Release notes

    Bug fixes:

    • Fixed BanglaDate.monthInt and BanglaDate.month to return the correct 1-based Bangla month number (বৈশাখ=1 … পৌষ=9 … চৈত্র=12) instead of a 0-based internal array index.
    • Added BanglaDateFormatter — format a BanglaDate with pattern tokens (DD, MM, YYYY, YY, D, M, d, S).
    • Fixed token replacement order in BanglaDateFormatter (longest tokens first) to prevent partial collision (e.g. D consuming part of DD).
    • Fixed BanglaDateFormatter zero-padding to use rune-safe counting so single-digit Bangla numerals are padded with correctly.
    • Exported BanglaDateFormatter from the main bangla_utilities library.
    Open source →
  3. 2.0.0 12 Jun 2026
    Release notes

    Breaking changes:

    • Removed deprecated BanglaUtility class — use BanglaDate and BanglaNumber directly.
    • Module-level constants banglaWeekdays, totalDaysInBanglaMonths, and gregEquivalentLeapYearIndexInBanglaMonths are now private (were accidentally public).
    • Minimum Dart SDK bumped to ^3.4.0.

    New features:

    • BanglaDate.today() — convenience constructor for today's date.
    • BanglaDate.fromDateTime(DateTime) — construct directly from a DateTime.
    • BanglaDate.dayInt, monthInt, yearInt — raw integer accessors alongside the existing Bangla numeral strings.
    • BanglaDate.date is now a computed getter (no stored state).
    • BanglaNumber.fromString(String) — converts digits in an arbitrary string (decimals, timestamps, mixed text).
    • BanglaNumber.englishValue — stores the original int when constructed via fromEnglish.

    Performance:

    • BanglaNumber digit conversion switched from O(n) indexOf to O(1) code-unit arithmetic.
    • DateTime.now() is resolved once per factory call instead of once per helper.

    Quality:

    • Switched dev lint rule set from flutter_lints to lints (pure-Dart package).
    • Added GitHub Actions CI workflow (analyze, format, test).
    • Comprehensive test suite with grouped tests and edge cases.
    Open source →
  4. 1.5.0 24 Feb 2025
    Release notes
    • Updated SDK
    • Deprecated old API
    Open source →
  5. 1.0.0 06 Mar 2021
    Release notes
    • Migrated to sound null safety
    Open source →
  6. 0.2.1 15 Sep 2020
    Release notes
    • Added API documentation
    Open source →
  7. 0.2.0 15 Sep 2020
    Release notes
    • Added support for Web, Linux, MacOS and Windows
    • Improved API
    Open source →
  8. 0.1.1 01 Jun 2020
    Release notes
    • Added API documentations
    Open source →
  9. 0.0.1 01 Jun 2020
    Release notes
    initial release:
    • Added English to Bangla number converter
    • Added leap year checker
    • Added Bangla weekday, day, month, monthName, year and season
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive