The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Cikl::Util::TimeHelpers - Time helpers for Cikl

SYNOPSIS

  use Cikl::Util::TimeHelpers qw/normalize_timestamp/;

  my $dt = DateTime->now()
  $dt = normalize_timestamp($dt);
  warn $dt;
normalize_timestamp($ts)
  Take in a timestamp (see DateTime::Format::DateParse), does a little extra normalizing and returns a DateTime object