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
1 parent
e5ec2d5
commit 5e0b6b6
Showing
5 changed files
with
485 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import buildFormatLongFn from '../../../_lib/buildFormatLongFn/index.js' | ||
|
||
var formatLong = buildFormatLongFn({ | ||
LT: 'HH:mm', | ||
LTS: 'HH:mm:ss', | ||
L: 'DD/MM/YYYY', | ||
LL: 'D MMMM YYYY', | ||
LLL: 'D MMMM YYYY HH:mm', | ||
LLLL: 'dddd, D MMMM YYYY HH:mm' | ||
}) | ||
|
||
export default formatLong |
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import formatDistance from '../en-US/_lib/formatDistance/index.js' | ||
import formatLong from './_lib/formatLong/index.js' | ||
import formatRelative from '../en-US/_lib/formatRelative/index.js' | ||
import localize from '../en-US/_lib/localize/index.js' | ||
import match from '../en-US/_lib/match/index.js' | ||
|
||
/** | ||
* @type {Locale} | ||
* @category Locales | ||
* @summary English locale (United Kingdom). | ||
* @language English | ||
* @iso-639-2 eng | ||
* @author Alex [@glintik]{@link https://github.com/glintik} | ||
*/ | ||
var locale = { | ||
formatDistance: formatDistance, | ||
formatLong: formatLong, | ||
formatRelative: formatRelative, | ||
localize: localize, | ||
match: match, | ||
options: { | ||
weekStartsOn: 1 /* Monday */, | ||
firstWeekContainsDate: 4 | ||
} | ||
} | ||
|
||
export default locale |
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
// @flow | ||
// This file is generated automatically by `scripts/build/typings.js`. Please, don't change it. | ||
|
||
type Locale = { | ||
formatDistance: Function, | ||
formatLong: Function, | ||
formatRelative: Function, | ||
localize: { | ||
ordinalNumber: Function, | ||
weekday: Function, | ||
weekdays: Function, | ||
month: Function, | ||
months: Function, | ||
timeOfDay: Function, | ||
timesOfDay: Function | ||
}, | ||
match: { | ||
ordinalNumbers: Function, | ||
ordinalNumber: Function, | ||
weekdays: Function, | ||
weekday: Function, | ||
months: Function, | ||
month: Function, | ||
timesOfDay: Function, | ||
timeOfDay: Function | ||
}, | ||
formatters?: Object, | ||
formattingTokensRegExp?: RegExp, | ||
units?: Object, | ||
parsers?: Object, | ||
parsingTokensRegExp?: RegExp, | ||
options?: { | ||
weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | ||
} | ||
} | ||
|
||
declare module.exports: Locale |
Oops, something went wrong.