The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Time::Fuzzy - Time read like a human, with some fuzziness

SYNOPSIS

    use Time::Fuzzy;

    my $now = fuzzy();
    $Time::Fuzzy::FUZZINESS = 'low';
    my $fuz = fuzzy( DateTime->new(...) );

DESCRIPTION

Nobody will ever say "it's 11:57". People just say "it's noon".

This Perl module does just the same: it adds some human fuzziness to the way computer deal with time.

FUNCTIONS

my $fuzzy = fuzzy( [ $dt ] )

Return the fuzzy time defined by $dt, a DateTime object. If no argument, return the (fuzzy) current time.

Fuziness factor

By default, Time::Fuzzy is using a medium fuzziness factor. You can change that by modifying $Time::Fuzzy::FUZZINESS. The accepted values are low and medium.

BUGS

Please report any bugs or feature requests to < bug-time-fuzzy at rt.cpan.org>, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Time-Fuzzy. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SEE ALSO

Time::Fuzzy development takes place on http://time-fuzzy.googlecode.com - feel free to join us.

You can also look for information on this module at:

AUTHOR

Jerome Quelin, <jquelin at cpan.org>

COPYRIGHT & LICENSE

Copyright (c) 2007 Jerome Quelin, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.