Use en-dash instead of hyphen in license between years

English grammar states that an en-dash should be used, not a hyphen between two years.

## Examples of each
__em-dash__: —
__en-dash__: –
__hyphen__: -

## Em-dash
An em-dash is typically used as a stand-in for a comma or parenthesis to separate out phrases—or even just a word—in a sentence for various reasons (i.e. an appositive). Examples where an em-dash should be used:

* School is based on the three R’s—reading, writing, and ’rithmetic.
* Against all odds, Pete—the unluckiest man alive—won the lottery.
* I sense something; a presence I've not felt since—

## En-dash
An en-dash is used to connect values in a range or that are related. A good rule is to use it when you're expressing a "to" relationship. Examples where an en-dash should be used:

* in years 1939–1945
* pages 31–32 may be relevant
* New York beat Los Angeles 98–95
* When American English would use an em-dash – following British and Canadian conventions.

## Hyphen
A hyphen is used to join words in a compound construction, or separate syllables of a word, like during a line break, or (self-evidently) a hyphenated name.

* pro-American
* cruelty-free eggs
* em-dash
* it's pronounced hos-pi-tal-it-tee
* Olivia Newton-John
This commit is contained in:
Kevin Kirsche 2015-02-24 17:39:24 -05:00
parent d0a42aea1a
commit aa8b3b66f4

View file

@ -1,4 +1,4 @@
Copyright 2012-2014 Elasticsearch BV
Copyright 20122014 Elasticsearch BV
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at