Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-3636

Wrong value read from date field

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 2.0.4
    • None
    • AcroForm
    • None
    • windows 10

    Description

      I have defined a date field in my PDF with the format "dd.mm.yyyy". Reading the value (field.getValueAsString()) works as expected if the input is a whole date string.
      Now when I set the field to e.g. "10.10" the value is accepted and displayed as "10.10.2016" (probably always the current year). But when I try to read the field it always delivers null and not what is displayed in the PDF.

      Attachments

        1. dv_kanal.pdf
          106 kB
          Aleksandar Veljovic

        Activity

          People

            Unassigned Unassigned
            adolf.holzknecht@gmail.com Aleksandar Veljovic
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: