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

Gameclock nonsensical option #99

Open
ScottKillen opened this issue Jun 5, 2020 · 3 comments
Open

Gameclock nonsensical option #99

ScottKillen opened this issue Jun 5, 2020 · 3 comments

Comments

@ScottKillen
Copy link

I am using version 1.4.2.

In the "Game Clock" module, if I hide the "Days" indicator, it is replaced by a date that begins in 1970 and, to me, seems nonsensical. There is even a formating option to use a two-digit year, rather than a four digits year. I want to hide the days--but I don't want a date that I don't understand to display.

It looks like maybe this is somehow copied from the "System Time" module.

This issue is perhaps related to work you will do on #84.

@mccreery
Copy link
Owner

mccreery commented Jun 6, 2020

Heh, you're probably right. The two clocks have a common base which probably includes the options (I haven't checked in a while). It should definitely be possible to hide the date, even for system time.

@ScottKillen
Copy link
Author

I can confirm that there is no way to hide the system date in the system clock module

In the game clock module, when I hide the "Days" in the game clock, it replaces it with a date that is the number of days added to 12/31/1969. So for instance "Day 28" is replaced with "01/28/1970"

@ScottKillen
Copy link
Author

I am not set up to contribute, but the date format here just needs to be set to a format that excludes the date info.

DateFormat format = super.getDateFormat();

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

No branches or pull requests

2 participants