浏览代码

add "Last year" option to time range selection

Noémi Ványi 8 年前
父节点
当前提交
2fc1091b7f
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3
    0
      searx/templates/oscar/time-range.html

+ 3
- 0
searx/templates/oscar/time-range.html 查看文件

@@ -11,4 +11,7 @@
11 11
     <option id="time-range-month" value="month" {{ "selected" if time_range=="month" else ""}}>
12 12
         {{ _('Last month') }}
13 13
     </option>
14
+    <option id="time-range-year" value="year" {{ "selected" if time_range=="year" else ""}}>
15
+        {{ _('Last year') }}
16
+    </option>
14 17
 </select>