stellarium icon indicating copy to clipboard operation
stellarium copied to clipboard

calendar plugin: format is confusing

Open axd1967 opened this issue 4 years ago • 8 comments

Expected Behaviour

The calendar output is easy to interpret.

The solution that was chosen for the plugin is <day name>, <day> - <month number> (<month name>) - year. This format is unusual for probably a lot of users (and tends to favour some users, while confusing Anglosaxon users) , so one can as well use the ISO format that is at least thought through and already in use in several places.

As the names of weekday and month are valuable and indeed poses a problem, and the ISO format does not suggest how to include literal day/month names, a modification might be helpful :

  • <year>-<month>-<day> (<day name>, <month name>)
  • (<day name>, <month name>) <year>-<month>-<day>

So the example in the screenshot becomes Gregorian: 2021-07-30 (Friday, July) (and notice the 00 format).

For Stellarium users this will be a familiar and natural format, because the date/time dialog already uses (part of) this format.

Many sites use the ISO format as it gives the least confusion for a global community.

This has been discussed in https://github.com/Stellarium/stellarium/pull/1419

Note that this format is probably to be linked to the program or sky culture language setting.

A solution is probably to add an extra calendar that follows these rules :-)

Actual Behaviour

The format used is odd and imposes to use an unnecessary amount of brain bytes.

image

Steps to reproduce

System

  • Stellarium version: 0.21.1
  • Operating system: <Name, version number>
  • Graphics Card: <Manufacturer (likely Intel, NVidia, AMD?), Model (HD, Geforce, Radeon..., with model number), driver version?>
  • Screen type (if applicable): Resolution, HighDPI, scaling

Logfile

If possible, attach the logfile log.txt from your user data directory. Look into the Guide for its location.

axd1967 avatar Jul 09 '21 14:07 axd1967

The state of the plugin is work-in-progress-currently-stuck-for-more-critical-tasks. When the rest of the Calendars book and other functionality will have been implemented, some optimisations are possible. I don't mind confusing US users with their confused order of calendar elements, though. This is a plugin for people who understand hierarchic order of date elements.

gzotti avatar Jul 09 '21 15:07 gzotti

How about this:

image

axd1967 avatar Jul 09 '21 17:07 axd1967

Alex, please explain, why week and month are identical elements for you? Please, please READ THE STANDARD ISO 8601!!! Please do not mix calendar date and week date, because this is DIFFERENT dates and DIFFERENT elements of calendars.

If you really want to see ISO calendar date then you can add it, but your format 2021-07-30 (Friday, July) is totally wrong, because Frinday and July are not exists in ISO calendar date format!

alex-w avatar Jul 09 '21 18:07 alex-w

I know the standard, and it's far more strict (and less easy to read) than presented here.

the standard says YYYY-MM-DD (as one of the possibilities).

that's why I write "a modification might be helpful". maybe more accurate is to NOT call it "simple ISO". any suggestions?

I don't understand your week argument, sorry; I don't use week information in this patch (that still needs to be pushed). I think that remark about week numbers has popped up in the PR too.

(and the ISO week format is YYYY-Www or YYYY-Www-d and not ddd, Week ww, YYYY).

axd1967 avatar Jul 09 '21 18:07 axd1967

I know the standard, and it's far more strict (and less easy to read) than presented here.

the standard says YYYY-MM-DD (as one of the possibilities).

that's why I write "a modification might be helpful". maybe more accurate is to NOT call it "simple ISO". any suggestions?

ISO date has strict format and "a modification might be helpful" is totally not applicable here! Or you follow strict ISO date format or have nothing else with "ISO" string!

I don't understand your week argument, sorry; I don't use week information in this patch (that still needs to be pushed). I think that remark about week numbers has popped up in the PR too.

(and the ISO week format is YYYY-Www or YYYY-Www-d and not ddd, Week ww, YYYY).

Probably you do not see idiotism in your proposal:

image

alex-w avatar Jul 09 '21 18:07 alex-w

@atque @gzotti @treaves

axd1967 avatar Jul 09 '21 22:07 axd1967

The only reason for anything regarding ISO dates in the Calendars plugin is the way the weeks in the year are counted and standardized by ISO. The plugin 's date formatting has neither been approved by ISO nor is following ISO standards. Please stop this discussion until 2022 as it leads nowhere.

gzotti avatar Jul 09 '21 23:07 gzotti

The only reason for anything regarding ISO dates in the Calendars plugin is the way the weeks in the year are counted and standardized by ISO.

I know it and ISO week is very helpful for me in this plugin. But l don’t understand why simple week numbering is too difficult for understanding for Alex and why he persists tried add something else to ISO week data.

The plugin 's date formatting has neither been approved by ISO nor is following ISO standards. Please stop this discussion until 2022 as it leads nowhere.

For me the date format is simple and clean for understanding. It’s natural human format. I don’t understand why it confuses Alex.

alex-w avatar Jul 10 '21 08:07 alex-w