Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add time_diff_between() & support for timestamp as argument #56

Merged
merged 1 commit into from
Feb 8, 2024

Conversation

thevilx
Copy link
Contributor

@thevilx thevilx commented Feb 7, 2024

  • created a new function time_diff_between() with start & end variables as arguments for getting the time diffrence.
  • renamed time_diff to time_diff_now()
  • added support for time_diff_between() & time_diff_now() to take arguments as timestamp (integer) & datetime (string)
  • added persian & arabic digits support to TimeDiff result

@thevilx thevilx changed the title Add time_diff_between() & add support for timestamp as input Add time_diff_between() & support for timestamp as input Feb 7, 2024
@thevilx thevilx changed the title Add time_diff_between() & support for timestamp as input Add time_diff_between() & support for timestamp as argument Feb 7, 2024
@ali77gh ali77gh merged commit 07bd83c into persian-tools:dev Feb 8, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants