Moment: Support seasons, like summer ('2016-SU')

Created on 6 Mar 2016  路  1Comment  路  Source: moment/moment

Most helpful comment

I appreciate what you're going for here, but in practice I don't think this is tenable.
Seasons are a geographical concern. Summer in France runs June-August, but summer in Madagascar runs December - February.

At first glance, it seems possible to define the seasonal months in the locale files, but locale != geographical region. For instance, both France and Madagascar have French as an official language. Thereby, the french locale could potentially be used in either, and any preset season dates would be wrong in one or the other.

See #2180

>All comments

I appreciate what you're going for here, but in practice I don't think this is tenable.
Seasons are a geographical concern. Summer in France runs June-August, but summer in Madagascar runs December - February.

At first glance, it seems possible to define the seasonal months in the locale files, but locale != geographical region. For instance, both France and Madagascar have French as an official language. Thereby, the french locale could potentially be used in either, and any preset season dates would be wrong in one or the other.

See #2180

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nikocraft picture nikocraft  路  3Comments

alvarotrigo picture alvarotrigo  路  3Comments

RobinvanderVliet picture RobinvanderVliet  路  3Comments

Shoroh picture Shoroh  路  3Comments

tanepiper picture tanepiper  路  3Comments