.
This commit is contained in:
parent
7e40a6e6c3
commit
1d969c9b0d
5 changed files with 4 additions and 6 deletions
|
|
@ -34,7 +34,6 @@ __export(dayjs_exports, {
|
||||||
});
|
});
|
||||||
module.exports = __toCommonJS(dayjs_exports);
|
module.exports = __toCommonJS(dayjs_exports);
|
||||||
var import_dayjs = __toESM(require("dayjs"));
|
var import_dayjs = __toESM(require("dayjs"));
|
||||||
var import_pt_br = require("dayjs/locale/pt-br");
|
|
||||||
var import_duration = __toESM(require("dayjs/plugin/duration"));
|
var import_duration = __toESM(require("dayjs/plugin/duration"));
|
||||||
var import_isSameOrAfter = __toESM(require("dayjs/plugin/isSameOrAfter"));
|
var import_isSameOrAfter = __toESM(require("dayjs/plugin/isSameOrAfter"));
|
||||||
var import_isSameOrBefore = __toESM(require("dayjs/plugin/isSameOrBefore"));
|
var import_isSameOrBefore = __toESM(require("dayjs/plugin/isSameOrBefore"));
|
||||||
|
|
@ -51,7 +50,6 @@ import_dayjs.default.extend(import_isSameOrAfter.default);
|
||||||
import_dayjs.default.extend(import_minMax.default);
|
import_dayjs.default.extend(import_minMax.default);
|
||||||
import_dayjs.default.extend(import_relativeTime.default);
|
import_dayjs.default.extend(import_relativeTime.default);
|
||||||
import_dayjs.default.extend(import_duration.default);
|
import_dayjs.default.extend(import_duration.default);
|
||||||
import_dayjs.default.locale("pt-br");
|
|
||||||
const dayjsbr = import_dayjs.default;
|
const dayjsbr = import_dayjs.default;
|
||||||
var dayjs_default = dayjsbr;
|
var dayjs_default = dayjsbr;
|
||||||
// Annotate the CommonJS export names for ESM import in node:
|
// Annotate the CommonJS export names for ESM import in node:
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "p-comuns",
|
"name": "p-comuns",
|
||||||
"version": "0.255.0",
|
"version": "0.256.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "./dist-back/index.js",
|
"main": "./dist-back/index.js",
|
||||||
"module": "./dist-front/index.mjs",
|
"module": "./dist-front/index.mjs",
|
||||||
|
|
|
||||||
BIN
pacote.tgz
BIN
pacote.tgz
Binary file not shown.
|
|
@ -1,6 +1,6 @@
|
||||||
// dayjsbr.ts
|
// dayjsbr.ts
|
||||||
import dayjs from "dayjs"
|
import dayjs from "dayjs"
|
||||||
import "dayjs/locale/pt-br"
|
//import "dayjs/locale/pt-br"
|
||||||
|
|
||||||
import duration from "dayjs/plugin/duration"
|
import duration from "dayjs/plugin/duration"
|
||||||
import isSameOrAfter from "dayjs/plugin/isSameOrAfter"
|
import isSameOrAfter from "dayjs/plugin/isSameOrAfter"
|
||||||
|
|
@ -21,7 +21,7 @@ dayjs.extend(minMax)
|
||||||
dayjs.extend(relativeTime)
|
dayjs.extend(relativeTime)
|
||||||
dayjs.extend(duration)
|
dayjs.extend(duration)
|
||||||
|
|
||||||
dayjs.locale("pt-br")
|
//dayjs.locale("pt-br")
|
||||||
|
|
||||||
export const dayjsbr = dayjs
|
export const dayjsbr = dayjs
|
||||||
export default dayjsbr
|
export default dayjsbr
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue