@enure/jacklin 2.0.7 → 2.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -5547,9 +5547,9 @@ import_handlebars.default.registerHelper("getShortDate", (dateStr) => {
5547
5547
  if (typeof dateStr === "string") {
5548
5548
  const date = new Date(dateStr);
5549
5549
  const year = date.getFullYear();
5550
- const month = date.getMonth();
5550
+ const month = date.getMonth() + 1;
5551
5551
  const fullMonth = month.toString().length === 1 ? `0${month}` : month;
5552
- return `${year}-${fullMonth}`;
5552
+ return `${fullMonth}/${year}`;
5553
5553
  } else {
5554
5554
  return dateStr;
5555
5555
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enure/jacklin",
3
- "version": "2.0.7",
3
+ "version": "2.0.8",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "./index.js",