Skip to content

Commit

Permalink
Merge pull request #1296 from craftcms/bugfix/1287-mapping-dates-for-…
Browse files Browse the repository at this point in the history
…products

add formatting dropdown to mapping dated for products
  • Loading branch information
angrybrad authored Apr 27, 2023
2 parents 7688cc4 + 6149642 commit 33c405c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/templates/_includes/elements/commerce-products/map.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,15 @@
type: 'text',
},
}, {
type: 'date',
name: 'Post Date',
handle: 'postDate',
instructions: 'Accepts Unix timestamp, or just about any English textual datetime description.'|t('feed-me'),
default: {
type: 'dateTime',
},
}, {
type: 'date',
name: 'Expiry Date',
handle: 'expiryDate',
instructions: 'Accepts Unix timestamp, or just about any English textual datetime description.'|t('feed-me'),
Expand Down

0 comments on commit 33c405c

Please sign in to comment.