d3 / d3-time-format

Parse and format times, inspired by strptime and strftime.
https://d3js.org/d3-time-format
ISC License
328 stars 99 forks source link

Missing Semester #103

Open gregoirer opened 3 years ago

gregoirer commented 3 years ago

As per quarter it will be nice to have the same for semester (1 or 2). Regards.

curran commented 3 years ago

How would that be defined?

In my experience each university defines semesters slightly differently.

Is there a standard definition for semesters?

gregoirer commented 3 years ago

In France, we divide the year in two semester S1 (january to june) and S2 (july to dec) and when I suggest to add this format I didn't figure it can't be differently. But after some research it seems that each country has his own way to group 6 months. so my change request is not relevant and I'm sorry for the noise.

Fil commented 3 years ago

"semester" is a faux-ami; in English it is used in the academic context only and varies in dates, but in French semestre also means a half-year, the equivalent of H1 and H2 in the US. Note that the same discussion happened here https://github.com/moment/moment/pull/1998 :)

Fil commented 3 years ago

Note that I don't see any mention of half-years in python strftime.