date_time_ago 0.0.1 copy "date_time_ago: ^0.0.1" to clipboard
date_time_ago: ^0.0.1 copied to clipboard

This project is for calculating "Date Time".

Date Time Ago #

This project is for calculating "Date Time".

Features #

Supported languages; English and Turkis for now.

Getting started #

// import package to page
import 'package:date_time_ago/date_time_ago';

Usage #

Include short and useful examples for package users. Add longer examples to "/example" folder.

// create once object
final dateTimeAgo = DateTimeAgo();

final dateTime = DateTime.now().subtract(const Duration(days: 1));

// default Turkish
print(dateTimeAgo.toCalculate(dateTime));

// usage English
print(dateTimeAgo.toCalculate(
     dateTime,
     locale: DateTimeAgoLocalesEnums.english,
   ));
1
likes
140
points
28
downloads

Publisher

verified publisherekabav.dev

Weekly Downloads

This project is for calculating "Date Time".

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on date_time_ago