diff options
Diffstat (limited to 'node_modules/date-fns/locale/el/_lib/formatRelative/index.js')
| -rw-r--r-- | node_modules/date-fns/locale/el/_lib/formatRelative/index.js | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/node_modules/date-fns/locale/el/_lib/formatRelative/index.js b/node_modules/date-fns/locale/el/_lib/formatRelative/index.js deleted file mode 100644 index 6e18226..0000000 --- a/node_modules/date-fns/locale/el/_lib/formatRelative/index.js +++ /dev/null @@ -1,30 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.default = void 0; -var formatRelativeLocale = { - lastWeek: function lastWeek(date) { - switch (date.getUTCDay()) { - case 6: - //Σάββατο - return "'το προηγούμενο' eeee 'στις' p"; - default: - return "'την προηγούμενη' eeee 'στις' p"; - } - }, - yesterday: "'χθες στις' p", - today: "'σήμερα στις' p", - tomorrow: "'αύριο στις' p", - nextWeek: "eeee 'στις' p", - other: 'P' -}; -var formatRelative = function formatRelative(token, date) { - var format = formatRelativeLocale[token]; - if (typeof format === 'function') return format(date); - return format; -}; -var _default = formatRelative; -exports.default = _default; -module.exports = exports.default;
\ No newline at end of file |
