Home Dashboard Directory Help
Search

timespan output not correct. by James Gentile


Status: 

Closed
 as Won't Fix Help for as Won't Fix


1
0
Sign in
to vote
Type: Bug
ID: 433561
Opened: 4/19/2009 4:03:29 AM
Access Restriction: Public
0
Workaround(s)
view
0
User(s) can reproduce this bug

Description

This code:
$test = new-timespan -hours 2

while($true)
{
    cls
    $test
    $test=$test.subtract((new-timespan -seconds 1))
    sleep 1


}

If executed, displays an extra linefeed at the top of the display the first time it is run, but on subsequent runs does not display the extra line feed.
Details
Sign in to post a comment.
Posted by Microsoft on 9/17/2009 at 8:38 AM
Thank you for your submission, but the issue did not meet the team's bug bar
Posted by James Gentile on 4/19/2009 at 4:04 AM
CTP3 on Vista x64 SP1.
Sign in to post a workaround.