Princeton-CDH / geniza

version 4.x of the Princeton Geniza Project
https://geniza.princeton.edu
Apache License 2.0
11 stars 2 forks source link

As a researcher, I want to see the abbreviated names of historical calendars following the Chicago Manual of Style, so that they are in a format I recognize and expect. #829

Open blms opened 2 years ago

blms commented 2 years ago
  1. Hijrī --> AH, and remove the comma between the year and the era, so "423, Hijrī (1031/32 CE)" --> "423 AH (1031/32 CE)" BUT
  2. Abbreviate the Seleucid era as well, so "18 Nisan 1493 Seleucid" --> "18 Nisan 1493 Sel." (no comma here per CMS).

Originally posted by @mrustow in https://github.com/Princeton-CDH/geniza/issues/779#issuecomment-1113458288

Right about anno mundi = AM. There's no abbreviation for kharaji ... I think there are only 5 ppl on earth who are aware of its existence ...

Originally posted by @mrustow in https://github.com/Princeton-CDH/geniza/issues/779#issuecomment-1114060486

dev notes

@blms let's create a dictionary on the Document object* keyed on the constants we already have defined, and then implement a calendar display method that returns the abbreviation. Also! Those labels and abbreviations should probably be flagged for translation, they are currently not.

* side note: our Document object is getting enormous and unwieldy; am wondering about segmenting out doc date functionality and fields as a mixin just to help organize the code some...

Originally posted by @rlskoeser in https://github.com/Princeton-CDH/geniza/issues/779#issuecomment-1113661287

richmanrachel commented 8 months ago

@blms and @kseniaryzhova - is this story still relevant?

kseniaryzhova commented 7 months ago

@cblissg we'd like to go over the formatting on the public site after you're doing designing.