Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the DateTime CPAN distribution.

Report information
The Basics
Id: 80133
Status: resolved
Priority: 0/
Queue: DateTime

People
Owner: Nobody in particular
Requestors: MARKSTOS [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.77
Fixed in: 0.78



Subject: small bug in the docs for today()
The docs for "today()" say: ##### This class method is equivalent to: DateTime->now->truncate( to => 'day' ); ##### The correct equivalanet should be: DateTime->now(@_)->truncate( to => 'day' ); ( In other words: the current docs fail to mention that args to today() are passed through to now(). )