Skip to content

pakistan holidays#138

Open
professorhaseeb wants to merge 1 commit into
commenthol:masterfrom
professorhaseeb:pk_holidays
Open

pakistan holidays#138
professorhaseeb wants to merge 1 commit into
commenthol:masterfrom
professorhaseeb:pk_holidays

Conversation

@professorhaseeb
Copy link
Copy Markdown

Pakistan's Public holiday

Comment thread data/countries/PK.yaml
type: observance
name:
en: Pakistan Day
02-01:
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it 1st February or 05-01 = 1st May?

Comment thread data/countries/PK.yaml
PK:
names:
en: Pakistan
langs: []
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please add the languages used in this data?
e.g.

  • en
  • ur (Urdu)
    It would be nice if you could also add local languages if available e.g. Urdu

Comment thread data/countries/PK.yaml
name:
en: Kashmir Solidarity Day
03-23:
type: observance
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you pls. check if "type" is correct.
See https://github.com/commenthol/date-holidays/blob/master/docs/specification.md#types-of-holidays

observance means that there that some people celebrate the day
public instead means there is some kind of law which declares the day as public holiday

Comment thread data/countries/PK.yaml
type: observance
name:
en: Quaid-e-Azam's Birthday
# states:
Copy link
Copy Markdown
Owner

@commenthol commenthol Jan 27, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be possible for you to add also muslim holidays? You can find them here https://github.com/commenthol/date-holidays/blob/master/docs/specification.md#hijra-dates. Maybe some of them could apply to Pakistan.

@commenthol
Copy link
Copy Markdown
Owner

Hi, thanks for your PR. Can you please check CONTRIBUTING.md and run

npx mocha test/all.mocha.js --writetests --countries PK

to have your changes fixed in some testcases? Thanks.

@gerryster
Copy link
Copy Markdown
Collaborator

@professorhaseeb : it would be great to add support for Pakistan. Could you address @commenthol's comments and questions?

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

Successfully merging this pull request may close these issues.

3 participants