Skip to content

Commit

Permalink
fix: default_datetime_format
Browse files Browse the repository at this point in the history
  • Loading branch information
mahsem authored Jan 10, 2025
1 parent 856ec08 commit 2ae5919
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion erpnext/selling/page/point_of_sale/pos_controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ erpnext.PointOfSale.Controller = class {
this.page.set_title_sub(
`<span class="indicator orange">
<a class="text-muted" href="#Form/POS%20Opening%20Entry/${this.pos_opening}">
Opened at ${moment(this.pos_opening_time).format("Do MMMM, h:mma")}
Opened at ${moment(this.pos_opening_time).format("YYYY-MM-DD, hh:mm")}
</a>
</span>`
);
Expand Down
2 changes: 1 addition & 1 deletion erpnext/selling/page/point_of_sale/pos_item_cart.js
Original file line number Diff line number Diff line change
Expand Up @@ -989,7 +989,7 @@ erpnext.PointOfSale.ItemCart = class {

res.forEach((invoice) => {
const posting_datetime = moment(invoice.posting_date + " " + invoice.posting_time).format(
"Do MMMM, h:mma"
"YYYY-MM-DD, hh:mm"
);
let indicator_color = {
Paid: "green",
Expand Down

0 comments on commit 2ae5919

Please sign in to comment.