Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show date below clock time #300

Closed
Jawomo opened this issue Mar 23, 2022 · 20 comments
Closed

Show date below clock time #300

Jawomo opened this issue Mar 23, 2022 · 20 comments
Assignees

Comments

@Jawomo
Copy link

Jawomo commented Mar 23, 2022

Is it possible to show the date below the time in any way?

Unbenannt

@xoascf
Copy link
Collaborator

xoascf commented Mar 23, 2022

I'm going to check if something can be done, I was going to create an issue dealing with exactly this.

@SL6464
Copy link

SL6464 commented Mar 25, 2022

Another suggestion: Any chance of making the date display to the left of the time? That way, we wouldn't have to sacrifice the height of the taskbar.

@xoascf
Copy link
Collaborator

xoascf commented Mar 25, 2022

Another suggestion: Any chance of making the date display to the left of the time? That way, we wouldn't have to sacrifice the height of the taskbar.

You can already do that (but the function may change in the future):

  1. Run regedit
  2. Go to the following key: HKEY_CURRENT_USER\Control Panel\International
  3. Change the value of the string sShortTime to your custom date and time format
  4. Re-open RetroBar (or just re-select your settings from Region Formats)

clock

@dremin
Copy link
Owner

dremin commented Mar 25, 2022

One thing we could do is add a preference for date/time format (a la Cairo) to give the user control over this.

Another option could be to give the theme control over the format. This could be useful given the format can change depending on taskbar height (or position), and is slightly different depending on the OS release the theme emulates.

I prefer the second option from the theme authenticity perspective, but can also appreciate users wanting to set it per their preference.

@SL6464
Copy link

SL6464 commented Mar 25, 2022

Another suggestion: Any chance of making the date display to the left of the time? That way, we wouldn't have to sacrifice the height of the taskbar.

You can already do that (but the function may change in the future):

1. Run `regedit`

2. Go to the following key: `HKEY_CURRENT_USER\Control Panel\International`

3. Change the value of the string  `sShortTime` to your custom date and time format

4. Re-open RetroBar (or just re-select your settings from Region Formats)

clock

I changed its value to:

dd/MM/yyyy HH:mm

This is the result:

Screenshot 2022-03-25 164941

What am I missing? :D

@Jawomo
Copy link
Author

Jawomo commented Mar 25, 2022

One thing we could do is add a preference for date/time format (a la Cairo) to give the user control over this.

Another option could be to give the theme control over the format. This could be useful given the format can change depending on taskbar height (or position), and is slightly different depending on the OS release the theme emulates.

I prefer the second option from the theme authenticity perspective, but can also appreciate users wanting to set it per their preference.

I'd be fine with both options

@xoascf
Copy link
Collaborator

xoascf commented Mar 25, 2022

I changed its value to:

dd/MM/yyyy HH:mm

This is the result:

Screenshot 2022-03-25 164941

What am I missing? :D

That shouldn't happen... it worked here:
clock

Must be a Windows thing, not everything works the same in all versions, a mess in .NET.

@Lianaja32
Copy link

Yep, because for me, it does not work on Windows 11 Build 22000.556, i changed the value to : dddd dd mmmm yyyy but that diden't work...

@xoascf
Copy link
Collaborator

xoascf commented Apr 3, 2022

A themeable clock would allow something like this in the taskbar as in the Longhorn M5 builds:

ClockLonghorn

@xoascf xoascf self-assigned this Apr 3, 2022
@Lianaja32
Copy link

Lianaja32 commented Apr 14, 2022

@xoascf, how did you manage the clock to make it look like this? I'm curious, I am currently running Windows 11 Build 22000.613.

@xoascf
Copy link
Collaborator

xoascf commented Apr 15, 2022

@xoascf, how did you manage the clock to make it look like this? I'm curious, I am currently running Windows 11 Build 22000.613.

A custom template for the clock, in other words, you can edit the clock control layout from the themes.

@111ebobo
Copy link

A themeable clock would allow something like this in the taskbar as in the Longhorn M5 builds:

ClockLonghorn
where you get this theme?

@Jawomo
Copy link
Author

Jawomo commented May 1, 2022

any new on date below clock?

@xoascf
Copy link
Collaborator

xoascf commented May 13, 2022

A themeable clock would allow something like this in the taskbar as in the Longhorn M5 builds:
ClockLonghorn
where you get this theme?

It is a modified version of the theme created by @Splitwirez:
https://github.com/Splitwirez/RetroBar/commits/plex-concept-skin1

That theme in its current state may not work, it needs to be updated.

@111ebobo
Copy link

A themeable clock would allow something like this in the taskbar as in the Longhorn M5 builds:
ClockLonghorn
where you get this theme?

It is a modified version of the theme created by @Splitwirez: https://github.com/Splitwirez/RetroBar/commits/plex-concept-skin1

That theme in its current state may not work, it needs to be updated.

thanks but you right it doesn`t work on new version and on old version this thing is broken. So when this theme gets an update so say for me please

@Jawomo
Copy link
Author

Jawomo commented Jun 5, 2022

Any progress on this?

in theory we'd just have to change ClockText to:

ClockText = now.ToShortTimeString() + "\n" + now.ToShortDateString();

To add date below time.

@xoascf
Copy link
Collaborator

xoascf commented Jul 5, 2022

A themeable clock would allow something like this in the taskbar as in the Longhorn M5 builds:
ClockLonghorn
where you get this theme?

It is a modified version of the theme created by @Splitwirez: https://github.com/Splitwirez/RetroBar/commits/plex-concept-skin1
That theme in its current state may not work, it needs to be updated.

thanks but you right it doesn`t work on new version and on old version this thing is broken. So when this theme gets an update so say for me please

Any progress on this?

in theory we'd just have to change ClockText to:

ClockText = now.ToShortTimeString() + "\n" + now.ToShortDateString();

To add date below time.

@111ebobo, @Jawomo, it will be possible to customize by theme the style and design of the clock (#362).

@xoascf
Copy link
Collaborator

xoascf commented Jul 6, 2022

@111ebobo, there is an updated version of the Longhorn Plex Concept theme (originally created by @Splitwirez) here:
https://github.com/xoascf/RetroBar/blob/plex-concept-skin1/RetroBar/Themes/Longhorn%20Plex%20Concept.xaml
Updated, but I think the theme is still not designed or does not look right in the left and right screen locations.

@dremin
Copy link
Owner

dremin commented Jul 6, 2022

@111ebobo, there is an updated version of the Longhorn Plex Concept theme (originally created by @Splitwirez) here: https://github.com/xoascf/RetroBar/blob/plex-concept-skin1/RetroBar/Themes/Longhorn%20Plex%20Concept.xaml Updated, but I think the theme is still not designed or does not look right in the left and right screen locations.

Once finished it would be great to merge this in to RetroBar!

@dremin
Copy link
Owner

dremin commented Jul 19, 2022

The requested ability has been added by #362.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants