Socket
Book a DemoInstallSign in
Socket

kikito-calendar_date_select

Package Overview
Dependencies
Maintainers
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kikito-calendar_date_select

1.0.2
bundlerRubygems
Version published
Maintainers
3
Created
Source

= CalendarDateSelect (kikito's fork)

http://github.com/kikito/calendar_date_select

a fork of

http://code.google.com/p/calendardateselect/

== Modifications done on this fork

  • Added an es.js (spanish) locale on the /public/javascripts/calendar_date_select/locales
  • Added highlighting of dates. A new parameter called :highlighted_date_check allows you to highlight several dates:

This highlights halloween (31st of October): <%= calendar_date_select_tag "near_halloween_day", "", :highlighted_date_check => "date.getDate() == 31 && date.getMonth() == 10" %> This highlights fridays: <%= calendar_date_select_tag "casual_day", "", :highlighted_date_check => "date.getDay() == 5" %>

== Submitting patches

All changes have been submitted to the folks of calendar_date_select

Test cases:

  • I didn't create a test case for the spanish locale.
  • I've created a test case for the highlighting, but i'm not sure how it works... by the way, two of the test cases already existing on the original CDS did not pass.

FAQs

Package last updated on 11 Aug 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.