todayonscreen, to movies
@todayonscreen@xoxo.zone avatar
mdmrn, to random
@mdmrn@urusai.social avatar

Good morning and Happy Perfect Date!

Hope you have great one too.

jacobydave, to random
@jacobydave@mastodon.xyz avatar

Finding an issue with (either my current situation or) Perl's DateTime::Format::Duration module.

I create 2 DT objects, display via DT::F::MySQL and

my $d = DateTime::Format::Duration->new(
pattern => '%Y years, %m months, %e days, '
. '%H hours, %M minutes, %S seconds' );

and get

1975-01-01 08:05:00
1993-12-13 17:40:17
0 years, 227 months, 12 days, 00 hours, 575 minutes, 17 seconds

Shouldn't there be days and hours, instead of >12 months and >60 minutes?

mjgardner, (edited )
@mjgardner@social.sdf.org avatar

@jacobydave Also, we all know from that April 25 is the perfect date: https://youtube.com/watch?v=-BNwiqDGz5g

#!/usr/bin/env perl

use Date::Extract;
use DateTime::Format::ISO8601::Format;

local $/;
print DateTime::Format::ISO8601::Format->new->format_date(
Date::Extract->new->extract(<DATA>) ), "\n";

END
I'd have to say April 25 because it's not too hot and not too cold.
All you need is a light jacket!

KydiaMusic, to acab
@KydiaMusic@mastodon.social avatar
markarayner, to random
@markarayner@mas.to avatar

I can't believe I almost missed my opportunity to share this.

todayonscreen, to random
jace, to random
@jace@mstdn.ca avatar

Happy April 25.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • everett
  • magazineikmin
  • Durango
  • thenastyranch
  • Youngstown
  • slotface
  • hgfsjryuu7
  • osvaldo12
  • rosin
  • kavyap
  • mdbf
  • PowerRangers
  • DreamBathrooms
  • modclub
  • khanakhh
  • InstantRegret
  • tacticalgear
  • vwfavf
  • ethstaker
  • ngwrru68w68
  • normalnudes
  • tester
  • GTA5RPClips
  • cubers
  • cisconetworking
  • Leos
  • provamag3
  • All magazines