Skip to content

Return difference between a past date and now in farsi (۴ روز پیش)

License

Notifications You must be signed in to change notification settings

lahzenegar/timeagofarsi.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Time Ago Farsi

A better way to display relative dates from now using a few line of JavaScript. This function will return strings like "۳ روز پیش" or "۵ روز پیش".

Usage

timeAgoFarsi(startDate); // var startDate = 1491277652;

License

Licensed under the MIT license.

About

Return difference between a past date and now in farsi (۴ روز پیش)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published