Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: d1382737d9
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 23 lines (15 sloc) 0.713 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
Temporal Utils
----------------

This project is intended to be a collection of libraries which
enhance the Temporal classes from Perl 6: Date and DateTime.

The first such library is DateTime::Utils, which formerly lived
in the Rakudo tree as DateTime::strftime.

It offers some useful exported subroutines to make working with DateTime
objects much easier.

Use 'ufo' to generate the Makefile for this project.
See http://github.com/masak/ufo for more details.

=== Example Use Case ===

use DateTime::Utils;
my $dt = DateTime.now(:timezone(iso-offset('-0800')));
say "It's "~strftime('%T', $dt)~" at supernovus's place.";
say "It's "~strftime('%T', $dt.in-timezone(iso-offset('+0200')))~" at masak's place.";

Something went wrong with that request. Please try again.