Menu

#1 Bug -- created date defaults to

closed
nobody
None
5
2004-03-29
2004-03-19
Anonymous
No

If the "created" date is not specifie the code creates a
created date form the modified date but the constructor
uses the default localname which is "modified" instead
of "created".

The fix is simply to specify the local name int he
constructor.

if(this.Created == null)
{
this.Created =
new AtomDateConstruct("created"); // Bug fix from
the original -- Bob Frankston 2004-03-18

this.Created.DateTime =

this.Modified.DateTime;

this.Created.UtcOffset =

this.Modified.UtcOffset;
}

Discussion

  • Anonymous

    Anonymous - 2004-03-29

    Logged In: YES
    user_id=481098

    Fixed... thanks.

    ps. sorry for the delay but I was very busy. The next time
    use the bug tracker ;-)

     
  • Anonymous

    Anonymous - 2004-03-29
    • summary: Bug -- created date defaults to "modified" --> Bug -- created date defaults to
    • status: open --> closed
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.