Minor Improvement to Cover Date

Avatar image for cbanack
cbanack

124

Forum Posts

199

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#1  Edited By cbanack

I've been making use of the excellent new "store_date" and "cover_date" fields in the issue object, and I've run into one minor problem with "cover_date":

One the website, it is possible (and in fact extremely common) to specify a "fuzzy" date, which does not include a "day" value, just a year and a month (or a quarter). However, the API always provides the cover_date as a non-fuzzy date, i.e. 2010-9-25. The problem with this is that there is no way to tell the difference between an actually fuzzy date (2010-9) and a specific date (2010-9-25). This means I have to arbitrarily assume all cover dates are either fuzzy, or all are specific.

Two straightforward ways that I can think of that would help me deal with this:

1) don't provide the day for fuzzy dates ("2010-9" vs "2010-9-25"), or,

2) provide an extra field in the date:

<cover_date> <date>2010-9-25</date><fuzzy>true</fuzzy></cover_date>

Thanks again for all the work you guys have been putting into the API lately!

Avatar image for poulscath
Poulscath

17

Forum Posts

8242

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#2  Edited By Poulscath

@cbanack: You may want to note that some comics only have years listed in their cover dates (I have some sitting right in front of me) and quarterly dates are also possible so that's something else that would need to be specified in the API.

So it would have to distinguish

  • 2010-9-25
  • 2010-9
  • 2010
  • 2010-Q1 (?)
Avatar image for comictagger
comictagger

39

Forum Posts

8

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#3  Edited By comictagger

@kirtai, I would like to test against some examples of those oddball cover dates. Can you share links to the issues you mentioned above? Would help a lot!

Avatar image for poulscath
Poulscath

17

Forum Posts

8242

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

#4  Edited By Poulscath
Avatar image for comictagger
comictagger

39

Forum Posts

8

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

@kirtai Thanks. I see now the problem that @cbanack was talking about. I hadn't ever even gone into the editing here. I've been strictly a (raw) data consumer!