diff options
Diffstat (limited to 'date-fns/src/locale/hi/_lib/formatLong/index.js')
-rw-r--r-- | date-fns/src/locale/hi/_lib/formatLong/index.js | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/date-fns/src/locale/hi/_lib/formatLong/index.js b/date-fns/src/locale/hi/_lib/formatLong/index.js new file mode 100644 index 0000000..91a7b41 --- /dev/null +++ b/date-fns/src/locale/hi/_lib/formatLong/index.js @@ -0,0 +1,41 @@ +import buildFormatLongFn from '../../../_lib/buildFormatLongFn/index' + +var dateFormats = { + full: 'EEEE, do MMMM, y', // CLDR #1787 + long: 'do MMMM, y', // CLDR #1788 + medium: 'd MMM, y', // CLDR #1789 + short: 'dd/MM/yyyy' // CLDR #1790 +} + +var timeFormats = { + full: 'h:mm:ss a zzzz', // CLDR #1791 + long: 'h:mm:ss a z', // CLDR #1792 + medium: 'h:mm:ss a', // CLDR #1793 + short: 'h:mm a' // CLDR #1794 +} + +var dateTimeFormats = { + full: "{{date}} 'को' {{time}}", // CLDR #1795 + long: "{{date}} 'को' {{time}}", // CLDR #1796 + medium: '{{date}}, {{time}}', // CLDR #1797 + short: '{{date}}, {{time}}' // CLDR #1798 +} + +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +} + +export default formatLong |