Menu

#481 (ok 3.2.3) In response to bug 2821833

closed-accepted
1
2009-10-30
2009-09-11
No

Run the patches from phpMyAdmin root directory.

The correct way for dates seems to be like this:
<table:table-cell office:value-type="date" office:date-value="2009-09-10">. So I added that to ods.php (also time).
However, a strange thing is that, if you don't specify a style, nothing seems to display. I'm not quite sure why. So I've also specified three non-existent styles: DateCell, TimeCell, DateTimeCell. So this is patch 1; mainly it corrects the type from String to Date or Time.

Patch 2 actually defines DateCell, TimeCell, and DateTimeCell. I thought these were supposed to be defined in styles.xml, so I tried that but with no luck. So I've defined them in content.xml instead. Maybe an expert in OO can help more.

Thomas

Discussion

  • Thomas Pulickal

    Thomas Pulickal - 2009-09-11

    A patch to correct Date, Time, and DateTime in ODS Export

     
  • Marc Delisle

    Marc Delisle - 2009-09-14
    • assigned_to: nobody --> drummingds1
     
  • Anonymous

    Anonymous - 2009-09-14

    Merged in subversion, thanks.

     
  • Anonymous

    Anonymous - 2009-09-14

    Looks good, thanks for the patch!

     
  • Anonymous

    Anonymous - 2009-09-14
    • milestone: 284146 --> For_immediate_release
    • priority: 5 --> 1
    • summary: In response to bug 2821833 --> (ok 3.2.3) In response to bug 2821833
    • status: open --> open-accepted
     
  • Marc Delisle

    Marc Delisle - 2009-10-30
    • status: open-accepted --> closed-accepted
     
MongoDB Logo MongoDB