Skip to content

Commit

Permalink
Redundant call to _calc_local_rd() in the constructor can be replaced…
Browse files Browse the repository at this point in the history
… with _calc_local_components()
  • Loading branch information
schwern committed Dec 18, 2009
1 parent a3b746f commit 0f65d4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/DateTime.pm
Expand Up @@ -223,7 +223,7 @@ sub new

$self->_handle_offset_modifier( $p{second} );

$self->_calc_local_rd;
$self->_calc_local_components;

if ( $p{second} > 59 )
{
Expand Down

0 comments on commit 0f65d4f

Please sign in to comment.