A simple Flutter z_time_ago package used to change date to time ago for english, arabic and kurdish languages

This package is used to get time duration from now and given time for kurdish, arabic and english, simple and easy to use.

Features

Changes date to time ago.

Getting started

add package to your pubspec.yaml file

    dependecies:
        flutter:
            sdk: flutter
        z_time_ago:

import it

import 'package:z_time_ago/z_time_ago.dart';

Usage

String result = ZTimeAgo().getTimeAgo(
    date: DateTime.parse('2021-01-15 20:50:36.977'),
    language: Language.kurdish,
)

GitHub

View Github