Skip to content

Instantly share code, notes, and snippets.

@billyct
Last active January 4, 2018 09:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save billyct/6fcf55064b5ec051f8dcc7b3f743eda5 to your computer and use it in GitHub Desktop.
Save billyct/6fcf55064b5ec051f8dcc7b3f743eda5 to your computer and use it in GitHub Desktop.
Abbreviations of the Names of the Months
<?php
$mapping = [
'Jan' => 'Jan.',
'Feb' => 'Feb.',
'Mar' => 'Mar.',
'Apr' => 'Apr.',
'May' => 'May',
'Jun' => 'June',
'Jul' => 'July',
'Aug' => 'Aug.',
'Sep' => 'Sept.',
'Oct' => 'Oct.',
'Nov' => 'Nov.',
'Dec' => 'Dec.',
];
// http://web.library.yale.edu/cataloging/months.htm
// date('M')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment