How do I change the PDF export for date picker

Our team is standardizing on the built in Date Picker widget so we ensure normalized dates throughout the wiki (i.e. no more June 30th, 6/30, 30/6, 6/30/15 just a nice simple 30 Jun 2015). Unfortunately when exported to PDF this looks really clunky with the widget showing a dark gray box around it.

I'm spelunking through the PDF export stylesheet docs; is there a way to alter the export look/feel for macros like this?

1 answer

1 accepted

Accepted Answer
0 votes

Customize this macro with the following CSS style in your pdf space stylesheet (the example below cancels any formatting and shows a normal format):

.wiki-content time{
  background-image: none !important;
  background-repeat: no-repeat !important;
  background-position: left center !important;
  background-color: #FFFFFF !important;
  border: 0px solid #FFFFFF  !important;
  border-radius: 0px !important;
  padding: 0 0px 0 0px  !important;
  white-space: none !important;

Thank you Benoit, that is perfect!

Really nice solution! And thanks for asking the question; this was one of those things I didn't know I cared about until I saw the better result.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Thursday in Confluence

What are your project planning tips?

Hello Community,  Jessica here from the Confluence product marketing team! Today I wanted to get your takes on project planning –– what works, what doesn’t, how do you know if you’re doing it r...

155 views 0 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you