Skip to content

A time interval format (2d4h1m4s) like convert_time() from Lima mudlib

Notifications You must be signed in to change notification settings

jettero/date--lima

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


    use Date::Lima qw/beek_date/;

    my $d1 = beek_date( "127:34" ); # 1h40m
    my $d2 = beek_date("2:46:40" ); # 2h46m40s
    my $d3 = beek_date( 7654321 );  # 2mo4w14h12m1s


-or-


    use Time::DeltaString qw/delta_string/;

    my $d1 = delta_string( "127:34" ); # 1h40m
    my $d2 = delta_string("2:46:40" ); # 2h46m40s
    my $d3 = delta_string( 7654321 );  # 2mo4w14h12m1s

About

A time interval format (2d4h1m4s) like convert_time() from Lima mudlib

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages