Coder Social home page Coder Social logo

holidays-kr's People

Contributors

hyunbinseo avatar taevel02 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

holidays-kr's Issues

기념일 커스텀 지원

안녕하세요.
혹시 기념일 명칭에 대해서 커스텀하게 설정할 수 있도록 지원이 가능할까요?
query string으로 key-value 값으로 받아서 지원하면 어떨까 싶어서요.

{url}?12-25=아무것도아닌날&01-01=첫날

대체공휴일 안내오류 (석가탄신일)

안녕하세요, 클량에서 공휴일 정보를 보고 구글 캘린더를 버리고, 개발자님의 캘린더를 활용하고 있습니다.

두둥!! 그런데, 구글 캘린더의 대체공휴일 오류(23년 10월 2일이 추석 대체공휴일이라고 표기)는 수정이 되었는데...
개발자님의 캘린더는 대체공휴일 오류 (23년 5월 29일이 석가탄신일 대체공휴일이라고 표기) 가 있네요.

'공휴일에 관한 법률'은 공휴일이 주말과 겹치면 대체공휴일을 적용하도록 돼 있지만, 크리스마스와 석가탄신일은 대체공휴일 대상에 포함되지 않습니다.

인사혁신처에서 대체공휴일 확대를 추진한다고 하나, 현재 기준으로는 석가탄신일 대체공휴일은 잘못된 정보이니 서둘러 수정하시는게 좋을 듯 합니다.

감사합니다.

ICS 파일에 차년도 공휴일 사전 입력

현시점 기준 2023년 공휴일만 정상적으로 표기되는데, 보통 휴가일정 같은걸 생각하면 최소 내년까지는 표기되면 좋을거 같은데 기간을 확대하실 계획이 있나요?

월력요항이 발표된 후에 ICS 파일을 작성하면 차년도 공휴일 확인에 어려움이 있음

2023년도 대체공휴일 수정

인사혁신처는 이 같은 내용을 담은 '관공서의 공휴일에 관한 규정' 개정안(대통령령)을 오는 16일부터 입법예고 한다고 15일 밝혔다.

다음 달 5일까지인 입법예고 기간에 인사처는 대체공휴일 지정에 관한 국민 의견을 받을 예정이다. 법제처 심사, 차관·국무회의, 대통령 재가를 거치면 관보에 정식 공포된다.

큰 이변이 없다면 다음 달 중으로 대통령 재가까지 완료돼 올해 부처님오신날부터 적용된다. — 연합뉴스

[스펙문의] 요청 헤더 user-agent필드에 java/1.x 형태로 설정된 경우, 403Forbidden 발생

안녕하세요
자바로 ics파일 조회해서 파싱하는 로직을 작성하다가, 403Forbidden 이 발생하여 이슈 남깁니다.

        
         HttpURLConnection connection;
        try {
            URL url = new URL("https://holidays.hyunbin.page/basic.ics");
            connection = (HttpURLConnection) url.openConnection();
            connection.setRequestMethod("GET");
            connection.connect();
         } // 생략

jdk "1.9" 버전을 쓰고 있어서, 위 요청 시 헤더값 user-agent 필드에 Java/1.9이 셋팅되었을 것 같은데요~
이게 원인일까 싶어서, Java/8, Java/1.9, Java/11 로 바꿔가며 테스트해보았더니, 아래와 같은 결과가 나왔습니다.

Java/8: 200 ok
Java/1.9: 403 forbidden
Java/11: 200 ok

혹시 User-agent에 Java/1.x 가 인입되면, 403Forbidden 이 반환되는게 의도된 것일까요?

제안

안녕하세요.
만들어주신 대한민국 공휴일을 잘 사용하고 있습니다.
한가지 부탁드리고 싶은 것이 있습니다.
공휴일 달력외에 국가기념일 캘린더도 만들어 주실 수 있을까 해서요.
데이터는 https://www.mois.go.kr/chd/sub/a05/feteDay/screen.do 여기에 있네요.

우려되는 점은 "국경일"과 "기념일"이 휴일인 경우도 있고 아닌 경우도 있어서 똑 같은 내용이 2중으로 노출되는 현상이 있을 것 같아요.
그래서 2가지 캘린더가 필요할 것 같아요.

  1. 대한민국 국경일+기념일 (공휴일 포함)
  2. 대한민국 국경일+기념일 (공휴일 제외)

Improve TypeScript types

Analysis of @hyunbinseo/[email protected]


Masquerading as CJS

Import resolved to a CommonJS type declaration file, but an ESM JavaScript file.

Used fallback condition

Import resolved to types through a conditional package.json export, but only after failing to resolve through an earlier condition. This behavior is a TypeScript bug. It may misrepresent the runtime behavior of this import and should not be relied upon.

"@hyunbinseo/holidays-kr"
node10
node16 (from CJS) ✅ (CJS)
node16 (from ESM) Masquerading as CJS
Used fallback condition
bundler Used fallback condition

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.