• Image placeholder
  • 홈 페이지
  • 블로그 센터
  • 범주
Image placeholder

business_time

【Rails】business_timegem의 공휴일 설정 방법 및 영업일 계산

레일스에서 영업일을 계산하기 편한gem 명절의 설정 방법과 영업일 계산에 대한 소개다. 명절은 다음과 같다BusinessTime::Config.holidays. 주의해야 할 것은 Date 금형을 넣지 않으면 공휴일을 포함하여 영업일을 계산할 수 없다는 것이다.ActiveSupport::TimeWithZone타입은 안 됩니다(특히 실수하지 않도록 주의하세요.ActiveSupport::TimeW...

business_timeRails

© 2022 intrepidgeeks.com

Privacy Policy Contact US Sitemap
🍪 This website uses cookies to ensure you get the best experience on our website. Learn more