Aslain Posted April 19, 2017 Share Posted April 19, 2017 I will also steal this topic, to display AM/PM, is this enough: {{py:xvm.formatDate('%I:%M %p')}} ? It wasn't working to me, displays 04 instead of 16 for hours, but no AM/PM. Do I need to have my windows locales set to different time either? @ Quote Link to comment Short link Share on other sites More sharing options...
scyorkie Posted April 22, 2017 Share Posted April 22, 2017 That line above works for me, although I'm using a slightly different one currently. See here. @ Quote Link to comment Short link Share on other sites More sharing options...
Aslain Posted April 23, 2017 Author Share Posted April 23, 2017 (edited) This screen is when I replace default config with this: "format": "<font face='$FieldFont'><textformat leading='-38'><font size='36'>{{py:xvm.formatDate('%I:%M %p')}}</font><br></textformat><textformat rightMargin='85' leading='-2'>{{py:xvm.formatDate('%Au')}}<br><font size='15'>{{py:xvm.formatDate('%d %bu %Y')}}</font></textformat></font>" Changing the width to 400 does not helping too. Edited April 23, 2017 by Aslain @ Quote Link to comment Short link Share on other sites More sharing options...
tricsi Posted April 23, 2017 Share Posted April 23, 2017 {{py:xvm.formatDate('%I:%M %p')}} nb7428 NA 13:37 мск @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted April 23, 2017 Share Posted April 23, 2017 1 @ Quote Link to comment Short link Share on other sites More sharing options...
tricsi Posted April 23, 2017 Share Posted April 23, 2017 судя по его скринам, у него что-то не хорошо там у меня и дефолт и его правка в дефолте отображает @ Quote Link to comment Short link Share on other sites More sharing options...
ktulho Posted April 23, 2017 Share Posted April 23, 2017 судя по его скринам, у него что-то не хорошо там у меня и дефолт и его правка в дефолте отображает Я так понимаю проблема в том, что не отображается AM/PM. @ Quote Link to comment Short link Share on other sites More sharing options...
tricsi Posted April 23, 2017 Share Posted April 23, 2017 (edited) Я так понимаю проблема в том, что не отображается AM/PM. сам значок ладно...а сами часы где ? по дефолту на первом скрине ? я так понял поддержки нет, чтобы в настройки AM/PM не лезть.. This screen is when I replace default config with this: "format": "<font face='$FieldFont'><textformat leading='-38'><font size='36'>{{py:xvm.formatDate('%I:%M %p')}}</font><br></textformat><textformat rightMargin='85' leading='-2'>{{py:xvm.formatDate('%Au')}}<br><font size='15'>{{py:xvm.formatDate('%d %bu %Y')}}</font></textformat></font>" Changing the width to 400 does not helping too. Скриншот 23-04-2017 143317.png ....... NA 19:25 мск widgetsTemplates.xc Edited April 23, 2017 by tricsi @ 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.