This commit is contained in:
Luiz Silva 2025-10-26 21:06:55 -03:00
parent 7e40a6e6c3
commit 1d969c9b0d
5 changed files with 4 additions and 6 deletions

View file

@ -34,7 +34,6 @@ __export(dayjs_exports, {
});
module.exports = __toCommonJS(dayjs_exports);
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_isSameOrAfter = __toESM(require("dayjs/plugin/isSameOrAfter"));
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_relativeTime.default);
import_dayjs.default.extend(import_duration.default);
import_dayjs.default.locale("pt-br");
const dayjsbr = import_dayjs.default;
var dayjs_default = dayjsbr;
// Annotate the CommonJS export names for ESM import in node:

File diff suppressed because one or more lines are too long

View file

@ -1,6 +1,6 @@
{
"name": "p-comuns",
"version": "0.255.0",
"version": "0.256.0",
"description": "",
"main": "./dist-back/index.js",
"module": "./dist-front/index.mjs",

Binary file not shown.

View file

@ -1,6 +1,6 @@
// dayjsbr.ts
import dayjs from "dayjs"
import "dayjs/locale/pt-br"
//import "dayjs/locale/pt-br"
import duration from "dayjs/plugin/duration"
import isSameOrAfter from "dayjs/plugin/isSameOrAfter"
@ -21,7 +21,7 @@ dayjs.extend(minMax)
dayjs.extend(relativeTime)
dayjs.extend(duration)
dayjs.locale("pt-br")
//dayjs.locale("pt-br")
export const dayjsbr = dayjs
export default dayjsbr