Ragnarocek Posted August 2, 2016 Share Posted August 2, 2016 Hey guys, I've used in my old settings in battle.xc this clockformat: "clockFormat": "<font face='digital-7 mono' color='#96FF00' size='20'>H:N.S</font>", Now is HTML string ignored and clock are not shown, if I set default format "H:i", all is working well... Any thoughts ? Thanks Ragna @ Quote Link to comment Short link Share on other sites More sharing options...
konrad509 Posted August 2, 2016 Share Posted August 2, 2016 I guess it's because the clock is using PHP formatting now http://php.net/date @ Quote Link to comment Short link Share on other sites More sharing options...
Andrew05 Posted August 2, 2016 Share Posted August 2, 2016 (edited) I guess it's because the clock is using PHP formatting now http://php.net/date O_o And what format was it using before?? Wrong guess. The clock using PHP format isn't new at all. There hasn't been any changes here afaic. Hey guys, I've used in my old settings in battle.xc this clockformat: "clockFormat": "<font face='digital-7 mono' color='#96FF00' size='20'>H:N.S</font>", Now is HTML string ignored and clock are not shown, if I set default format "H:i", all is working well... Any thoughts ? Thanks Ragna Try "clockFormat": "H:N.S" Does it work? I assume the font might be causing the issue. If the line above works fine, the next step is try different fonts, system ones. Edited August 2, 2016 by Andrew05 @ Quote Link to comment Short link Share on other sites More sharing options...
konrad509 Posted August 2, 2016 Share Posted August 2, 2016 @up I don't know what format it used before. Never cared. I was just influenced by what it's said in changelog... @ Quote Link to comment Short link Share on other sites More sharing options...
Ragnarocek Posted August 2, 2016 Author Share Posted August 2, 2016 O_o And what format was it using before?? Wrong guess. The clock using PHP format isn't new at all. There hasn't been any changes here afaic. Try "clockFormat": "H:N.S" Does it work? I assume the font might be causing the issue. If the line above works fine, the next step is try different fonts, system ones. Thanks for reply, but I know clock format, but HTML formatting isnt working (font, color, etc.) @ Quote Link to comment Short link Share on other sites More sharing options...
Andrew05 Posted August 2, 2016 Share Posted August 2, 2016 (edited) I think I was a bit misled here. I thought about the format first, not formatting. And the PHP format isn't new at all for the clock. Now I probably get it. The changelog says: * clock are using php formatting Which likely literally means the clock is now using php formatting, which means that html formatting isn't working anymore. That's simple logic based on what is written. Edited August 2, 2016 by Andrew05 @ Quote Link to comment Short link Share on other sites More sharing options...
sirmax Posted August 2, 2016 Share Posted August 2, 2016 Which likely literally means the clock is now using php formatting, which means that html formatting isn't working anymore. That's simple logic based on what is written. My fault, I mean "PHP format", not "PHP formatting" @ Quote Link to comment Short link Share on other sites More sharing options...
Ragnarocek Posted August 2, 2016 Author Share Posted August 2, 2016 My fault, I mean "PHP format", not "PHP formatting" so html formatting for "clockformat": is gone ? And I have one more question, cant find string for hitlog rows... It will be implemented, or is abandoned ? @ Quote Link to comment Short link Share on other sites More sharing options...
sirmax Posted August 2, 2016 Share Posted August 2, 2016 so html formatting for "clockformat": is gone? Yes, because PHP Date use many letters in its format, and HTML tags will be substituted with values. But you can use "elements" section to change text format. May be later I'll make macros like in the hangar. Also you can make your own clock using BattleLabels and py_macro, but it have no timer event yet, later I'll add it. And I have one more question, cant find string for hitlog rows... It will be implemented, or is abandoned ? Not implemented, you can just limit the size with "height" option. @ Quote Link to comment Short link Share on other sites More sharing options...
Andrew05 Posted August 2, 2016 Share Posted August 2, 2016 (edited) My fault, I mean "PHP format", not "PHP formatting" А в чем тогда изменение? PHP format же и раньше был И кстати там clock "is", а не "are", часы в английском это единственное число ;) Надо мне будет пробежаться по докам, подкорректировать ошибки Edited August 2, 2016 by Andrew05 @ Quote Link to comment Short link Share on other sites More sharing options...
Сербия Posted August 2, 2016 Share Posted August 2, 2016 @sirmax, my WoT client is on english language. How can I get with XVM Russian format for days and months without changing the client language? In Anton's mod you could set whatever you have liked as the name of days and months, sadly he hasn't updated his mod for 0.9.15.1. I would like to see ВТОРНИК instead of Tuesday and АВГ instead of Aug. @ Quote Link to comment Short link Share on other sites More sharing options...
sirmax Posted August 2, 2016 Share Posted August 2, 2016 А в чем тогда изменение? PHP format же и раньше был Он был на экране загрузки, а теперь и в бою. Надо мне будет пробежаться по докам, подкорректировать ошибки Вот за это буду очень признателен. @sirmax, my WoT client is on english language. How can I get with XVM Russian format for days and months without changing the client language? No, you can't, XVM only implements internal client formatting functions. But as a workaround, you can try to make images with required text and load they using <img> tag. @ Quote Link to comment Short link Share on other sites More sharing options...
Сербия Posted August 2, 2016 Share Posted August 2, 2016 But as a workaround, you can try to make images with required text and load they using <img> tag. Ok, thank you. @ Quote Link to comment Short link Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.