Skip to content

This project is for calculating "Date Time". Supported languages; English and Turkis for now.

License

Notifications You must be signed in to change notification settings

edipbaranavci/date_time_ago

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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,
   ));

About

This project is for calculating "Date Time". Supported languages; English and Turkis for now.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published