Skip to content

Commit

Permalink
Add time module in expected language format
Browse files Browse the repository at this point in the history
  • Loading branch information
devin-ai-integration[bot] committed Aug 31, 2024
1 parent 8515c71 commit 9cd09f8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions modules/time/time.skrypt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
seconds_per_minute=60
minutes_per_hour=60
hours_per_day=24
days_per_year=365.25

seconds_per_hour=seconds_per_minute*minutes_per_hour
seconds_per_day=seconds_per_hour*hours_per_day
seconds_per_year=seconds_per_day*days_per_year

time_diff=abs(time2-time1)

0 comments on commit 9cd09f8

Please sign in to comment.