This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Java format confusing me

Tags: None
(comma "," separated)
macgealai
Registered Member
Posts
1
Karma
0

Java format confusing me

Sun May 24, 2020 1:52 pm
I am configuring my event calendar widget to show the time colorfully with java format. I had done this before, but had to restore my device. When I enter the text n the suggested format, ('<font color="#E92EFB">'hh'</font>''<font color="#EF1588">':mm'</font>''<font color="#860A86">':ss'</font>), I get output with extra single quotes or apostrophes, as such 12':00':05

can anyone tell me where I went wrong?
airdrik
Registered Member
Posts
1854
Karma
5
OS

Re: Java format confusing me

Thu Jul 09, 2020 5:53 pm
If you haven't been able to figure this out, you might try removing where you have two single-quotes next to each other between the font tags:
('<font color="#E92EFB">'hh'</font><font color="#EF1588">':mm'</font><font color="#860A86">':ss'</font>)


airdrik, proud to be a member of KDE forums since 2008-Dec.


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell