Skip to content
Permalink
Browse files

Formatting

  • Loading branch information...
geoffreymcgill committed Jun 8, 2019
1 parent aeb2383 commit b860f1a24974e9621c7285b455f94de9b6938d05
Showing with 24 additions and 23 deletions.
  1. +1 −1 CONTRIBUTING.md
  2. +1 −1 LICENSE
  3. +14 −13 src/core.js
  4. +2 −2 src/extras.js
  5. +2 −2 src/parser.js
  6. +2 −2 src/sugarpak.js
  7. +2 −2 src/time.js
@@ -54,5 +54,5 @@ Your reward is sweet karma and that warm fuzzy feeling knowing you’ve helped t

1. [Contributor License Agreement](https://github.com/datejs/Datejs/blob/master/CLA.md)
2. [Issue tracker](https://github.com/datejs/Datejs/issues)
3. [Datejs Blog](http://datejs.com/blog/)
3. [Datejs Blog](https://datejs.comblog/)
5. [StackOverflow](https://stackoverflow.com/questions/tagged/datejs)
@@ -13,6 +13,6 @@ See the License for the specific language governing permissions and
limitations under the License.

Contact:
http://object.net
https://object.net
hello@object.net
+1(888)775-5888
@@ -2,9 +2,9 @@
* @version: 1.0
* @author: @geoffreymcgill
* @date: 2015-11-25
* @copyright: Copyright (c) 2008-2015, Object.NET, Inc. (http://object.net). All rights reserved.
* @copyright: Copyright (c) 2008-2019, Object.NET, Inc. (https://object.net). All rights reserved.
* @license: See LICENSE and https://github.com/datejs/Datejs/blob/master/LICENSE
* @website: http://datejs.com/
* @website: https://datejs.com
*/

(function () {
@@ -728,17 +728,18 @@
S The ordinal suffix ("st, "nd", "rd" or "th") of the current day. "st, "nd", "rd" or "th"
|| *Format* || *Description* || *Example* ||
|| d || The CultureInfo shortDate Format Pattern || "M/d/yyyy" ||
|| D || The CultureInfo longDate Format Pattern || "dddd, MMMM dd, yyyy" ||
|| F || The CultureInfo fullDateTime Format Pattern || "dddd, MMMM dd, yyyy h:mm:ss tt" ||
|| m || The CultureInfo monthDay Format Pattern || "MMMM dd" ||
|| r || The CultureInfo rfc1123 Format Pattern || "ddd, dd MMM yyyy HH:mm:ss GMT" ||
|| s || The CultureInfo sortableDateTime Format Pattern || "yyyy-MM-ddTHH:mm:ss" ||
|| t || The CultureInfo shortTime Format Pattern || "h:mm tt" ||
|| T || The CultureInfo longTime Format Pattern || "h:mm:ss tt" ||
|| u || The CultureInfo universalSortableDateTime Format Pattern || "yyyy-MM-dd HH:mm:ssZ" ||
|| y || The CultureInfo yearMonth Format Pattern || "MMMM, yyyy" ||
| Format | Description | Example |
| -- | -- | -- |
| d | The CultureInfo shortDate Format Pattern | "M/d/yyyy" |
| D | The CultureInfo longDate Format Pattern | "dddd, MMMM dd, yyyy" |
| F | The CultureInfo fullDateTime Format Pattern | "dddd, MMMM dd, yyyy h:mm:ss tt" |
| m | The CultureInfo monthDay Format Pattern | "MMMM dd" |
| r | The CultureInfo rfc1123 Format Pattern | "ddd, dd MMM yyyy HH:mm:ss GMT" |
| s | The CultureInfo sortableDateTime Format Pattern | "yyyy-MM-ddTHH:mm:ss" |
| t | The CultureInfo shortTime Format Pattern | "h:mm tt" |
| T | The CultureInfo longTime Format Pattern | "h:mm:ss tt" |
| u | The CultureInfo universalSortableDateTime Format Pattern | "yyyy-MM-dd HH:mm:ssZ" |
| y | The CultureInfo yearMonth Format Pattern | "MMMM, yyyy" |
STANDARD DATE AND TIME FORMAT STRINGS
@@ -2,9 +2,9 @@
* @version: 1.0
* @author: @geoffreymcgill
* @date: 2015-11-25
* @copyright: Copyright (c) 2008-2015, Object.NET, Inc. (http://object.net). All rights reserved.
* @copyright: Copyright (c) 2008-2019, Object.NET, Inc. (https://object.net). All rights reserved.
* @license: See LICENSE and https://github.com/datejs/Datejs/blob/master/LICENSE
* @website: http://datejs.com/
* @website: https://datejs.com
*/

(function () {
@@ -2,9 +2,9 @@
* @version: 1.0
* @author: @geoffreymcgill
* @date: 2015-11-25
* @copyright: Copyright (c) 2008-2015, Object.NET, Inc. (http://object.net). All rights reserved.
* @copyright: Copyright (c) 2008-2019, Object.NET, Inc. (https://object.net). All rights reserved.
* @license: See LICENSE and https://github.com/datejs/Datejs/blob/master/LICENSE
* @website: http://datejs.com/
* @website: https://datejs.com
*/

(function () {
@@ -2,9 +2,9 @@
* @version: 1.0
* @author: @geoffreymcgill
* @date: 2015-11-25
* @copyright: Copyright (c) 2008-2015, Object.NET, Inc. (http://object.net). All rights reserved.
* @copyright: Copyright (c) 2008-2019, Object.NET, Inc. (https://object.net). All rights reserved.
* @license: See LICENSE and https://github.com/datejs/Datejs/blob/master/LICENSE
* @website: http://datejs.com/
* @website: https://datejs.com
*/

/**
@@ -2,9 +2,9 @@
* @version: 1.0
* @author: @geoffreymcgill
* @date: 2015-11-25
* @copyright: Copyright (c) 2008-2015, Object.NET, Inc. (http://object.net). All rights reserved.
* @copyright: Copyright (c) 2008-2019, Object.NET, Inc. (https://object.net). All rights reserved.
* @license: See LICENSE and https://github.com/datejs/Datejs/blob/master/LICENSE
* @website: http://datejs.com/
* @website: https://datejs.com
*/

/*

0 comments on commit b860f1a

Please sign in to comment.
You can’t perform that action at this time.