Skip to content

Commit

Permalink
fix(gdoc): remove "Today" button in datepicker
Browse files Browse the repository at this point in the history
  • Loading branch information
mlbrgl committed Oct 4, 2023
1 parent c8d1b49 commit a047675
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions adminSiteClient/GdocsDateline.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ export const GdocsDateline = ({
format="ddd, MMM D, YYYY"
id="publishedAt"
status={publishedAtError?.type}
// The "Today" button has been disabled because it sets
// the time to the current time. This time change makes
// it all the way to the atom feed, which is then
// interpreted by MailChimp's RSS-to-Email as a new
// article.
showToday={false}
/>
<GdocsErrorHelp
error={publishedAtError}
Expand Down

0 comments on commit a047675

Please sign in to comment.