Jump to content
LaunchBox Community Forums

Recommended Posts

Posted

Apologies in advance if this is the wrong section. I'm looking to make a few tweaks to the Default theme and am struggling to make dates (like LastPlayed) to be formatted in European format (ie. dd/MM/yyyy rather than MM/dd/yyyy). I've tried the following on line 158 in GameDetailsView.xaml and it doesn't work, any ideas what I'm doing wrong?
 

<TextBlock Text="{Binding LastPlayed, StringFormat='dd/MM/yyyy HH:mm'}"

And
 

<TextBlock Text="{Binding Path=LastPlayed, StringFormat='dd/MM/yyyy HH:mm'}" 

but neither seems to have the effect.

Posted

Should also be able to just use:

Text="{Binding LastPlayed, StringFormat={}{0:dd/MM/yyyy}}"

or can use the OS settings by using the following:

Text="{Binding LastPlayed, StringFormat={}{0:d}}"
Posted

Ah thanks for replying so quickly @C-Beats. That's a shame about LastPlayed, should I wait for the next poll to suggest this or do you still look at BitBucket items? Would be great to have dates localised ?  

Posted
19 minutes ago, alondero said:

Ah thanks for replying so quickly @C-Beats. That's a shame about LastPlayed, should I wait for the next poll to suggest this or do you still look at BitBucket items? Would be great to have dates localised ?  

Pretty sure we have a ticket for it, but if not that is the best place for it.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...