Hi i have one question about PDF_TIME_FORMAT_PDF.
In pdf-time-string.c in begining of pdf_time_from_string_pdf is following
comment.

   /*
    * From PDF Reference 1.7: ( D:YYYYMMDDHHmmSSOHH'mm' )
    * From ISO 32000:         ( D:YYYYMMDDHHmmSSOHH'mm  )
    *
    * Notes: Year is mandatory, all the other fields may appear if the
preceding
    *        also appear.
    *
    *  D:   = string "D:"
    *  YYYY = four-digit year
    *  MM   = two-digit month (01=January, etc.)
    *  DD   = two-digit day of month (01 through 31)
    *  HH   = two digits of hour (00 through 23)
    *  mm   = two digits of minute (00 through 59)
    *  SS   = two digits of second (00 through 59)
    *  O    = either '+', '-' or 'Z'
    *  HH   = two digits of hour (00 through 23) for the GMT offset
    *  '    = string "'"
    *  MM   = two digits of minute (00 through 59) for the GMT offset
    *  '    = string "'"  (NOTE: Mandatory in 1.7, optional in ISO32000)
    */
Last ' character is mandatory in 1.7, but what with minor versions of pdf
files. Is last ' character mandatory also?. If no then
pdf_time_from_string_pdf must accept strings without '. Currently it don't
accept them.

Łukasz

Reply via email to