Re: [xwiki-users] Date format in FAQ application
For more information on this subject you can refer to http://docs.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html Op 6-5-2016 om 11:02 schreef Clemens Klein-Robbenhaar: The right format is probably '-MM-dd hh:mm:ss'. with only one 'm' for minute it tries to show minute as single digit when ever possible ... which is just what your got Anybody, any idea ? I noticed the format is broken also in view/Main/AllDocs table. R. On 2016-04-25 11:18, Ryszard Łach wrote: Nope. I've set it to '-MM-dd hh:m:ss'. It works in other places (e.g. applications created via AppWithinMinutes) but not in FAQ. R. On 2016-04-25 10:59, Marius Dumitru Florea wrote: Setting the Date Format in Administration / Localization doesn't have any effect? On Wed, Apr 20, 2016 at 9:30 PM, Ryszard Łachwrote: Hi, again. How can I correct date format (to include leading zeros) in faq application? I suppose, that changing the default language of my wiki to 'pl' has broken the format and now 'Creation date' in list of faq entries looks like '2016-04-15 09:6:34' . TIA, R. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Date format in FAQ application
The right format is probably '-MM-dd hh:mm:ss'. with only one 'm' for minute it tries to show minute as single digit when ever possible ... which is just what your got > Anybody, any idea ? I noticed the format is broken also in view/Main/AllDocs > table. > > R. > > On 2016-04-25 11:18, Ryszard Łach wrote: >> Nope. I've set it to '-MM-dd hh:m:ss'. >> >> It works in other places (e.g. applications created via AppWithinMinutes) >> but not in FAQ. >> >> R. >> >> On 2016-04-25 10:59, Marius Dumitru Florea wrote: >>> Setting the Date Format in Administration / Localization doesn't have any >>> effect? >>> >>> On Wed, Apr 20, 2016 at 9:30 PM, Ryszard Łachwrote: >>> Hi, again. How can I correct date format (to include leading zeros) in faq application? I suppose, that changing the default language of my wiki to 'pl' has broken the format and now 'Creation date' in list of faq entries looks like '2016-04-15 09:6:34' . TIA, R. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Missing border and background color of "code" macro in exported pdf
Details about changing the rendering of the PDF are documented here: http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HCustomizingthePDFexportLook26Feel In your case to change the background color the easiest solution is probably to attach a file named "pdf.css" to the page XWiki.DefaultSkin with the contents: .box { background-color: #CC; } or whatever color you would like to have in print. I have to admit that I could not get a border around the box with a similar CSS declaration; also I could not fix the indentation of the text around the block; actually it should not be indented ... Adding a separate p { text-indent:0; } to the pdf.css fixes that, but I am not sure if this does not has other side effects hope it helps anyway Clemens > Hi, > > i use the macro "code" to highlight code blocks in the text. On export (e.g. > as pdf) only the text is colored and has another font, but there is no border > or background color, like in the web view. The text before and after the code > block is also not quite nice styled. It is indented wich is not good for > reading. > > How can i change the style of the code blok and surrounding text in the > exported document? > > With best regards > Alina > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users