Skip Menu |

This queue is for tickets about the DateTime-Calendar-Coptic CPAN distribution.

Report information
The Basics
Id: 111868
Status: new
Priority: 0/
Queue: DateTime-Calendar-Coptic

People
Owner: Nobody in particular
Requestors: J2N-FORGET [...] orange.fr
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.03
Fixed in: (no value)



Subject: transcription parameter in the full_date method
he module documentation does not describe how we can print a Coptic date. Reading the source code, I have found "medium_date", "long_date" and "full_date" and a utility method "useTranscription". I have tried "full_date" but I do not understand the results: use utf8; use DateTime; use DateTime::Calendar::Coptic; my $d1 = DateTime::Calendar::Coptic->new(year => 1732, month => 5, day => 30); print 'A ', $d1->full_date(), "\n"; print 'B ', $d1->full_date(1), "\n"; print 'C ', $d1->full_date(0), "\n"; $d1->useTranscription(1); print 'D ', $d1->full_date(), "\n"; print 'E ', $d1->full_date(1), "\n"; print 'F ', $d1->full_date(0), "\n"; $d1->useTranscription(0); print 'G ', $d1->full_date(), "\n"; print 'H ', $d1->full_date(1), "\n"; print 'I ', $d1->full_date(0), "\n"; Here is the actual result: A Friday, May 30 exoou α̱ψ̄λ̄β̄ AD B Friday, May λ̄ exoou α̱ψ̄λ̄β̄ AD C Friday, May λ̄ exoou α̱ψ̄λ̄β̄ AD D Friday, May 30 exoou 1732 AD E Friday, May λ̄ exoou α̱ψ̄λ̄β̄ AD F Friday, May λ̄ exoou α̱ψ̄λ̄β̄ AD G Friday, May 30 exoou α̱ψ̄λ̄β̄ AD H Friday, May λ̄ exoou α̱ψ̄λ̄β̄ AD I Friday, May λ̄ exoou α̱ψ̄λ̄β̄ AD First, in all lines, the month name is "May", while I was something like "Tobi". Second, I do not undestand how the transcription parameter should work. For lines C, F, G and I, the transcription should be disabled, giving: C Friday, May 30 exoou 1732 AD For lines B, D, E and H, the transcription should be enabled, giving: B Friday, May λ̄ exoou α̱ψ̄λ̄β̄ AD For line A, there should be consistency between the day number and the year number, giving either A Friday, May 30 exoou 1732 AD or: A Friday, May λ̄ exoou α̱ψ̄λ̄β̄ AD So, why do lines A, C, D, F, G and I work the way they do? Can you document and, if necessary, fix, please?
Typos: he module documentation should read The module documentation while I was something should read while I was expecting something Excuse me for these typos.