-
Notifications
You must be signed in to change notification settings - Fork 94
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
Allow holiday to be set as working day, add second language for holiday name #708
Comments
For 1. it is a good idea, but it has to be implemented refreshing the existing metadata. I guess it's easier if we mark the existing holidays as non-working day by default, and we create a special flag to set a holiday that is a working day (assuming the underlying date is a working day). For 2. we already have translations - do you mean having a second language column regardless of the localization? Again, beside the change to the code, we should consider the implication for the existing configurations. |
For 1, thanks, and the easy ways sounds like an excellent solution. For 2, yeah, two columns were my original suggestion. Maybe it is easier (and better) to have an option in Bravo, where you can select if you want the national holidays in English or your national language. I have listed the Danish name for the Danish national holidays and commented out the holidays that normally is a working day. In some companies, the Union has negotiated the working holiday to be a non-working holiday (oh nooo)...
|
For 2, may the two columns actually could be an extra option in Bravo, so you can have the logged-in user see the report in either English or your national language but the you of course also need month name and day name as two columns as well (and all other filter columns, like product name, category name etc..., |
Ok I don't promise timing for 1 but it makes sense. I am really not convinced for 2 because most of the users only choose a single language for everything. I see the point for certain countries, but we should keep a relatively simple configuration for all languages, as we should update all the languages if we introduce a breaking change in configuration files (which also impacts existing deployments). Did you try to customize a template for your specific needs? It could be so much simpler. |
The feature request
I have two suggestions:
A way to mark a holiday as either a working day or non-working day. In Denmark the Labour Day and the Constitution Day is a Holiday (in Danish "Helligdag" (holidays means helligdage), not "Feriedag" (holiday means feridag), but it is still a working day for most people.
A way to have a bilingual date table so the developer can choose between English or localized holiday names even though the table is created with e.g. a Danish holiday ruleset.
Proposed solution
Regarding 1., the use of a flag in the template (0 or 1) if the holiday is a non-working day
Regarding 2, a way to add both the English and the localized column in the template
Additional context
No response
The text was updated successfully, but these errors were encountered: