-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
52 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ strftime | |
|
||
strftime for JavaScript. Works in (at least) node.js and browsers. Supports localization and timezones. Most standard specifiers from C are supported as well as some other extensions from Ruby. | ||
|
||
[![version 0.10.1 on npm](https://img.shields.io/badge/npm-0.10.1-brightgreen.svg?style=flat)](https://www.npmjs.com/package/strftime) [![node version 0.2 and up](https://img.shields.io/badge/node->=0.2-brightgreen.svg?style=flat)](https://nodejs.org) [![MIT License](https://img.shields.io/badge/License-MIT-blue.svg?style=flat)](https://sjs.mit-license.org) | ||
[![version 0.10.2 on npm](https://img.shields.io/badge/npm-0.10.2-brightgreen.svg?style=flat)](https://www.npmjs.com/package/strftime) [![node version 0.2 and up](https://img.shields.io/badge/node->=0.2-brightgreen.svg?style=flat)](https://nodejs.org) [![MIT License](https://img.shields.io/badge/License-MIT-blue.svg?style=flat)](https://sjs.mit-license.org) | ||
|
||
Installation | ||
============ | ||
|
@@ -148,7 +148,7 @@ e.g. `%q` becomes `q`. Use `%%` to get a literal `%` sign. | |
- X: equivalent to `%T` or `%r` in en_US (based on locale) | ||
- x: equivalent to `%D` in en_US (based on locale) | ||
- Y: the year with the century | ||
- y: the year without the century (00-99) | ||
- y: the year without the century, padded to 2 digits (00-99) | ||
- Z: the time zone name, replaced with an empty string if it is not found | ||
- z: the time zone offset from UTC, with a leading plus sign for UTC and zones east | ||
of UTC and a minus sign for those west of UTC, hours and minutes follow each | ||
|
@@ -197,11 +197,12 @@ Contributors | |
* [TJ Holowaychuk](https://github.com/tj) | ||
* [w0den](https://github.com/w0den) | ||
* [Yusuke Kawasaki](https://github.com/kawanet) | ||
* [Aryan Arora](https://github.com/aryan-debug) | ||
|
||
|
||
License | ||
======= | ||
|
||
Copyright 2010 - 2021 Sami Samhuri [email protected] | ||
Copyright 2010 - 2023 Sami Samhuri [email protected] | ||
|
||
[MIT license](https://sjs.mit-license.org) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "strftime", | ||
"version": "0.10.1", | ||
"version": "0.10.2", | ||
"main": "strftime.js", | ||
"ignore": [ | ||
"Readme.md", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "strftime", | ||
"description": "strftime for JavaScript", | ||
"version": "0.10.1", | ||
"version": "0.10.2", | ||
"homepage": "https://samhuri.net/projects/strftime", | ||
"author": "Sami Samhuri <[email protected]>", | ||
"contributors": [ | ||
|
@@ -24,9 +24,16 @@ | |
"Stian Grytøyr (https://github.com/stiang)", | ||
"TJ Holowaychuk (https://github.com/tj)", | ||
"w0den (https://github.com/w0den)", | ||
"Yusuke Kawasaki (https://github.com/kawanet)" | ||
"Yusuke Kawasaki (https://github.com/kawanet)", | ||
"Aryan Arora (https://github.com/aryan-debug)" | ||
], | ||
"keywords": [ | ||
"strftime", | ||
"format", | ||
"string", | ||
"time", | ||
"date" | ||
], | ||
"keywords": ["strftime", "format", "string", "time", "date"], | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/samsonjs/strftime.git" | ||
|
@@ -43,4 +50,4 @@ | |
"dependencies": {}, | ||
"devDependencies": {}, | ||
"optionalDependencies": {} | ||
} | ||
} |