問題タブ [rrule]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
django - django-scheduler で定期的なイベントを作成できません
毎日 16 時から 21 時の間に発生するイベントを指定したいと思います。
どうすればこれを達成できますか?
「毎日」の頻度ルールで Event.start を 16:00 に指定し、Event.end を 21:00 に指定するなど、これを行うためにすでに多くのことを試みましたが、うまくいきませんでした。15:30 から 16 の間のオカレンスのみが表示されます。
イベント モデル get の _get_occurrence_list は、30 分間隔で呼び出されます。
私はすでにそれが可能であることを疑っています。django-scheduler はそのようなユースケースをサポートしていますか?
javascript - エラーを回避Ember.js で定義されていません
Ember.js アプリケーションの bower モジュールをインストールするたびに、ember-cli-build.js
コンポーネント、コントローラー、サービスなどの内部で使用できます。しかし、JSHint は次のようなエラーを表示します。
また
どうすればそれらを無効にできますか?
これは私のインポートですember-cli-build.js
:
java - Android ウィークリー イベントがすべての日に設定されていない
SOやさまざまなフォーラムを広範囲に検索しましたが、これを理解できません。Android カレンダーで定期的なイベントを生成しています。場合によっては問題なく動作することもあれば、今後 4 ~ 5 週間だけ設定して停止することもあります。ここで私は正確に何を間違っていますか?
これは、カレンダーにイベントを追加する私の関数です
そして、コードの読みやすさを向上させるために短縮した別の関数から呼び出しています
このループは、ローカル データベースからのすべての SQL 結果を通過します。
イベントは正しく追加されますが、無期限に繰り返されるのではなく、4 ~ 5 週間後に停止することがあります。ここで何が間違っていますか?RRule の UNTIL=timestamp を設定すると、壊れてカレンダーに何も追加されません。どんな助けでも大歓迎です。
編集:実際には、これらすべてのイベントがすべての日に追加されていることに気付きました。ただし、カレンダー アプリ内で更新オプションを手動で選択すると表示されます。これは解決できるものですか、それとも単にカレンダー アプリが設計されている方法ですか?
android - Android google calendar deleting future instances of recurring event
I'm trying to delete future instances of a google calendar recurring (repeated) event pro-grammatically using content resolver.
And to do this i have updated the rRule of the event , so for example if want to delete future instances of an event starting from date 11/11/2016 i edit the rRule string to look like so:
However , when viewing google calendar application i find no changes and i find the event color only has changed to black color.
Some notes to keep in mind:
1- I'm using a third party library to so : https://github.com/EverythingMe/easy-content-providers
and all functionalities in this library seem to work fine.
2- While reading pro-grammatically recurring events that have a specific UNTIL date in it's rRule , i have realized that also a field in the google event called "lastDate" is updated with one hour later after the UNTIL value ,so do i have to update also this field while updating the UNTIL value in the rRule?
python - 繰り返しの解析 Google Calendar API
ユーザーの Google カレンダー データで動作する小さな Web アプリを作成しようとしています。item.keys()で「recurrence」を使用してイベントの開始日時を取得することを除いて、すべて正常に機能します。
質問: 特定のデータからイベントの開始時刻を取得するにはどうすればよいですか:
私の考えは、RRULEを何らかの方法で解析することでした。そこから日時のリストを取得する方法を見つけましたが、このイベントの開始時刻を取得する方法はまだ私にとって疑問です.
でデータを取得していますservice.events().list(...).execute()
新しいAPI (これは今日だけ見つけた) では item に nice という名前が付いていることは知っていoriginStartTime
ますが、古いイベントには何もありません。