Uploaded image for project: 'BookBrainz'
  1. BookBrainz
  2. BB-641

Date Format Parser

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • None
    • None

      it would be very useful if there existed a date format parser next to the date input boxes
      a date here and it will autofill the date bits incorporated into the date format

      this would work like the old mb script
      for starters, it could be simple and accept only YYYY-MM-DD or DD-MM-YYYY formats for the beginning

      a list of formats:

      • YYYY-MM-DD
      • DD-MM-YYYY
      • YYYY/MM/DD
      • DD/MM/YYYY
      • DD $month YYYY
      • YYYY $month DD
      • YYYY MM DD
      • DD MM YYYY

      ($month here is written month names):

      • jan, january, januar, januari, janeiro
      • feb, february, februar, févr, februari, fevereiro
      • mar, march, mars, março, märz
      • apr, april, avr, abril
      • may, mai, maj, maio
      • jun, june, juni, juin, junho
      • jul, juli, july, juil, julho
      • aug, august, août, augusti, agosto
      • sep, september, septembre, setembro
      • oct, october, oktober, octobre, okt, outubro
      • nov, november, novembre, novembro
      • dec, december, desember, des, dezembro, dez, déc, dezember

      and what about ambiguous date formats like DD-YY-MM, DD-MM-YY, YY-DD-MM or YY-MM-DD ?
      have the thing simply ask for clarification!

      some cleverness, for example a 25 13 02 date could be 25th feb 2002, or 2025, feb 13.
      but a date of 78 03 14 can only be 1978 mar. 14

            Unassigned Unassigned
            zaphodbeeblebrox ApeKattQuest, MonkeyPython
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                Version Package