Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: d1382737d9
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (15 sloc) 0.713 kb
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.";
Jump to Line
Something went wrong with that request. Please try again.