Skip to content
pubscout

tempo

1.2.6, released 3 weeks ago by niladic.org

A time and date solution replacing core DateTime with advanced arithmetic and time zone support.

WASM-ready
$ flutter pub add tempo
Source repository

What it does

Tempo replaces Dart's core DateTime with a rich set of date and time classes. It offers advanced arithmetic features like human-like month/year addition and full time zone support.

AI-written summary of version 1.2.6, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need robust time zone handling and conversions.
  • You want advanced date/time arithmetic that handles months and leap years correctly.

Skip it when

  • You only need basic, native DateTime operations without additional dependencies.

Strengths

  • Comprehensive time zone support with TZDB updates.
  • Human-like date arithmetic.

Weaknesses

  • Introduces a new custom date/time API instead of using core types.

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
8
// Example usage not provided in README

Alternatives

Packages that do the same job and could replace tempo.

  • timezone

    Time zone databases and time zone aware DateTime class in Dart.

  • syncfusion_flutter_core

    Core dependency for Syncfusion Flutter widgets, providing shared functionality.

  • jiffy

    Parse, manipulate, query, and format dates and times in Dart and Flutter.

  • sugar

    Standard library extension for date-times, timezones, collections, and monads.

Works with

Packages commonly used together with tempo: ones it builds on, ones built on it, and its own family.