tighter jobs-special
This commit is contained in:
parent
13cd4772c9
commit
445785325f
@ -3,7 +3,7 @@
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="c2fd5632-2143-4c7e-8b0d-96d7692b700b" name="Default" comment="">
|
||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/feeds/jobs-special.json" beforeDir="false" afterPath="$PROJECT_DIR$/feeds/jobs-special.json" afterDir="false" />
|
||||
<change beforePath="$PROJECT_DIR$/plugins/filter_today_only.js" beforeDir="false" afterPath="$PROJECT_DIR$/plugins/filter_today_only.js" afterDir="false" />
|
||||
</list>
|
||||
<ignored path="rinser.iws" />
|
||||
<ignored path=".idea/workspace.xml" />
|
||||
@ -25,20 +25,20 @@
|
||||
</component>
|
||||
<component name="FileEditorManager">
|
||||
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
|
||||
<file leaf-file-name="jobs-special.json" pinned="false" current-in-tab="true">
|
||||
<file leaf-file-name="jobs-special.json" pinned="false" current-in-tab="false">
|
||||
<entry file="file://$PROJECT_DIR$/feeds/jobs-special.json">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="135">
|
||||
<caret line="9" column="22" selection-start-line="9" selection-start-column="22" selection-end-line="9" selection-end-column="22" />
|
||||
<state relative-caret-position="240">
|
||||
<caret line="16" column="13" lean-forward="true" selection-start-line="16" selection-start-column="13" selection-end-line="16" selection-end-column="13" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
</file>
|
||||
<file leaf-file-name="filter_today_only.js" pinned="false" current-in-tab="false">
|
||||
<file leaf-file-name="filter_today_only.js" pinned="false" current-in-tab="true">
|
||||
<entry file="file://$PROJECT_DIR$/plugins/filter_today_only.js">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="120">
|
||||
<caret line="8" column="4" lean-forward="true" selection-start-line="8" selection-start-column="4" selection-end-line="8" selection-end-column="4" />
|
||||
<state relative-caret-position="150">
|
||||
<caret line="10" lean-forward="true" selection-start-line="10" selection-end-line="10" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
@ -64,8 +64,8 @@
|
||||
<file leaf-file-name="filter_location.js" pinned="false" current-in-tab="false">
|
||||
<entry file="file://$PROJECT_DIR$/plugins/filter_location.js">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="120">
|
||||
<caret line="8" lean-forward="true" selection-start-line="8" selection-end-line="8" />
|
||||
<state relative-caret-position="60">
|
||||
<caret line="4" column="77" lean-forward="true" selection-start-line="4" selection-start-column="2" selection-end-line="4" selection-end-column="77" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
@ -179,7 +179,6 @@
|
||||
<component name="IdeDocumentHistory">
|
||||
<option name="CHANGED_PATHS">
|
||||
<list>
|
||||
<option value="$PROJECT_DIR$/node_modules/rss-braider/lib/RssBraider.js" />
|
||||
<option value="$PROJECT_DIR$/tech.js" />
|
||||
<option value="$PROJECT_DIR$/dist/js/app.js" />
|
||||
<option value="$PROJECT_DIR$/html/css/custom.scss" />
|
||||
@ -230,6 +229,7 @@
|
||||
<option value="$PROJECT_DIR$/plugins/filter_reject.js" />
|
||||
<option value="$PROJECT_DIR$/plugins/filter_location.js" />
|
||||
<option value="$PROJECT_DIR$/feeds/jobs-special.json" />
|
||||
<option value="$PROJECT_DIR$/plugins/filter_today_only.js" />
|
||||
</list>
|
||||
</option>
|
||||
</component>
|
||||
@ -605,14 +605,7 @@
|
||||
<workItem from="1530391391023" duration="153000" />
|
||||
<workItem from="1530557207480" duration="1187000" />
|
||||
<workItem from="1531587000308" duration="70000" />
|
||||
<workItem from="1533827599998" duration="5905000" />
|
||||
</task>
|
||||
<task id="LOCAL-00080" summary="jobs fix, reverted">
|
||||
<created>1500377659425</created>
|
||||
<option name="number" value="00080" />
|
||||
<option name="presentableId" value="LOCAL-00080" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1500377659426</updated>
|
||||
<workItem from="1533827599998" duration="6044000" />
|
||||
</task>
|
||||
<task id="LOCAL-00081" summary="jobs fix, reverted">
|
||||
<created>1500377737791</created>
|
||||
@ -950,11 +943,18 @@
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1533836076677</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="129" />
|
||||
<task id="LOCAL-00129" summary="tighter jobs-special">
|
||||
<created>1533837830262</created>
|
||||
<option name="number" value="00129" />
|
||||
<option name="presentableId" value="LOCAL-00129" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1533837830262</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="130" />
|
||||
<servers />
|
||||
</component>
|
||||
<component name="TimeTrackingManager">
|
||||
<option name="totallyTimeSpent" value="147974000" />
|
||||
<option name="totallyTimeSpent" value="148113000" />
|
||||
</component>
|
||||
<component name="ToolWindowManager">
|
||||
<frame x="17" y="22" width="1759" height="1106" extended-state="0" />
|
||||
@ -1394,13 +1394,6 @@
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/plugins/filter_today_only.js">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="120">
|
||||
<caret line="8" column="4" lean-forward="true" selection-start-line="8" selection-start-column="4" selection-end-line="8" selection-end-column="4" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/plugins/filter_md_jobs.js">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="75">
|
||||
@ -1408,13 +1401,6 @@
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/plugins/filter_last_week.js">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="225">
|
||||
<caret line="15" column="8" lean-forward="true" selection-start-line="15" selection-start-column="8" selection-end-line="15" selection-end-column="8" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/jobs-special.js">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state>
|
||||
@ -1450,17 +1436,31 @@
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/plugins/filter_location.js">
|
||||
<entry file="file://$PROJECT_DIR$/feeds/jobs-special.json">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="120">
|
||||
<caret line="8" lean-forward="true" selection-start-line="8" selection-end-line="8" />
|
||||
<state relative-caret-position="240">
|
||||
<caret line="16" column="13" lean-forward="true" selection-start-line="16" selection-start-column="13" selection-end-line="16" selection-end-column="13" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/feeds/jobs-special.json">
|
||||
<entry file="file://$PROJECT_DIR$/plugins/filter_last_week.js">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="135">
|
||||
<caret line="9" column="22" selection-start-line="9" selection-start-column="22" selection-end-line="9" selection-end-column="22" />
|
||||
<state relative-caret-position="225">
|
||||
<caret line="15" column="8" lean-forward="true" selection-start-line="15" selection-start-column="8" selection-end-line="15" selection-end-column="8" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/plugins/filter_location.js">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="60">
|
||||
<caret line="4" column="77" lean-forward="true" selection-start-line="4" selection-start-column="2" selection-end-line="4" selection-end-column="77" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
<entry file="file://$PROJECT_DIR$/plugins/filter_today_only.js">
|
||||
<provider selected="true" editor-type-id="text-editor">
|
||||
<state relative-caret-position="150">
|
||||
<caret line="10" lean-forward="true" selection-start-line="10" selection-end-line="10" />
|
||||
</state>
|
||||
</provider>
|
||||
</entry>
|
||||
|
@ -11,6 +11,8 @@ module.exports = function (item, itemOptions, source) {
|
||||
|
||||
var d = inDays(then, now);
|
||||
|
||||
console.log('Today:', (d === 0) ? 'Pass' : 'Reject');
|
||||
|
||||
if (d === 0)
|
||||
return itemOptions;
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user