You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
前回のエントリで書いた、Rails3で、date_select, datatime_selectに年、日などを追加するを修正して、gemリリースしました。 date_select/datetime_selectのdate_separator, time_separatorに物足りないと思った人向けのgemです。 date_select_separator | RubyGems.org rono23/date_select_separator | Github 使い方は、config/locales/ja.ymlにseparatorsの訳を追加して、 ja: datetime: separators: year: 年 month: 月 day: 日 hour: 時 minute: 分 second: 秒 date_select/datetime_selectに、use_separators:
About Add datepicker picker to field or to any other element. can be used as a component formats: dd, d, mm, m, yyyy, yy separators: -, /, . Download Change log 12/3/2013 Fixed bug where date selection from previous and next year was wrong Fixed bug where a variable was polluting the namespace 10/3/2013 Changed so the value will not be set unless the user chooses a date 16/2/2013 Fixed it to work
There’s a tonne of options to customize the date and time pickers, such as month/year selectors, time intervals, etc. There’s also a rich API to extend the functionality of the picker. Some examples are displayed on Codepen. When using the “classic” theme, it is important to have a wrapper div with position: relative around the source input to ensure the picker is sized according to the input elem
Emacs で UNIX 時間が必要になったので、いろいろ調べました。 そういうわけで個人的なメモになります。 ;; 任意の日時の UNIX 時間を求める。 (let ((year 2011) (month 11) (day 21) (hour 18) (minutes 30) (seconds 00)) (time-to-seconds (encode-time seconds minutes hour day month year))) => 1321867800.0 ;; UNIX 時間を Emacs 時間(?) に変換する。 (seconds-to-time 1321867800.0) => (20170 6680 0) ;; Emacs 時間を UNIX 時間に変換する。 (time-to-seconds '(20170 6680 0)) => 1321867800.0 ;; E
はてなグループの終了日を2020年1月31日(金)に決定しました 以下のエントリの通り、今年末を目処にはてなグループを終了予定である旨をお知らせしておりました。 2019年末を目処に、はてなグループの提供を終了する予定です - はてなグループ日記 このたび、正式に終了日を決定いたしましたので、以下の通りご確認ください。 終了日: 2020年1月31日(金) エクスポート希望申請期限:2020年1月31日(金) 終了日以降は、はてなグループの閲覧および投稿は行えません。日記のエクスポートが必要な方は以下の記事にしたがって手続きをしてください。 はてなグループに投稿された日記データのエクスポートについて - はてなグループ日記 ご利用のみなさまにはご迷惑をおかけいたしますが、どうぞよろしくお願いいたします。 2020-06-25 追記 はてなグループ日記のエクスポートデータは2020年2月28
Moment.js 2.30.1 Parse, validate, manipulate, and display dates and times in JavaScript. Install npm install moment --save # npm yarn add moment # Yarn Install-Package Moment.js # NuGet spm install moment --save # spm meteor add momentjs:moment # meteor bower install moment --save # bower (deprecated) Format Dates moment().format('MMMM Do YYYY, h:mm:ss a'); moment().format('dddd'); moment().format
Constructors new XDate() Creates a new XDate with the current date and time new XDate(xdate) Creates a copy of the given XDate new XDate(nativeDate) Creates a new XDate from a native Date new XDate(milliseconds) Creates a new XDate that is milliseconds since the UTC epoch. new XDate(year, month, date, hours, minutes, seconds, milliseconds) Creates a new XDate from the given values. new XDate(dateS
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く