aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/date-fns/locale/eu/_lib/formatRelative
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/date-fns/locale/eu/_lib/formatRelative')
-rw-r--r--node_modules/date-fns/locale/eu/_lib/formatRelative/index.js31
1 files changed, 31 insertions, 0 deletions
diff --git a/node_modules/date-fns/locale/eu/_lib/formatRelative/index.js b/node_modules/date-fns/locale/eu/_lib/formatRelative/index.js
new file mode 100644
index 0000000..95e02cf
--- /dev/null
+++ b/node_modules/date-fns/locale/eu/_lib/formatRelative/index.js
@@ -0,0 +1,31 @@
+"use strict";
+
+Object.defineProperty(exports, "__esModule", {
+ value: true
+});
+exports.default = void 0;
+var formatRelativeLocale = {
+ lastWeek: "'joan den' eeee, LT",
+ yesterday: "'atzo,' p",
+ today: "'gaur,' p",
+ tomorrow: "'bihar,' p",
+ nextWeek: 'eeee, p',
+ other: 'P'
+};
+var formatRelativeLocalePlural = {
+ lastWeek: "'joan den' eeee, p",
+ yesterday: "'atzo,' p",
+ today: "'gaur,' p",
+ tomorrow: "'bihar,' p",
+ nextWeek: 'eeee, p',
+ other: 'P'
+};
+var formatRelative = function formatRelative(token, date) {
+ if (date.getUTCHours() !== 1) {
+ return formatRelativeLocalePlural[token];
+ }
+ return formatRelativeLocale[token];
+};
+var _default = formatRelative;
+exports.default = _default;
+module.exports = exports.default; \ No newline at end of file
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage