mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-27 12:07:19 +00:00
Merge pull request #385 from simonbaird/sameday_tz_fix
Fix timezone related filter test failure
This commit is contained in:
commit
9acb10f781
@ -29,13 +29,13 @@ describe("Filter tests", function() {
|
||||
text: "The quick brown fox in $:/TiddlerTwo",
|
||||
tags: ["one"],
|
||||
modifier: "JoeBloggs",
|
||||
modified: "201304152219"});
|
||||
modified: "201304152222"});
|
||||
wiki.addTiddler({
|
||||
title: "$:/TiddlerTwo",
|
||||
text: "The rain in Spain\nfalls mainly on the plain and [[a fourth tiddler]]",
|
||||
tags: ["two"],
|
||||
modifier: "JohnDoe",
|
||||
modified: "201304151756"});
|
||||
modified: "201304152211"});
|
||||
wiki.addTiddler({
|
||||
title: "Tiddler Three",
|
||||
text: "The speed of sound in light\n\nThere is no TiddlerZero but TiddlerSix",
|
||||
@ -206,7 +206,7 @@ describe("Filter tests", function() {
|
||||
});
|
||||
|
||||
it("should handle the sameday operator", function() {
|
||||
expect(wiki.filterTiddlers("[sameday[201304151312]sort[title]]").join(",")).toBe("$:/TiddlerTwo,TiddlerOne");
|
||||
expect(wiki.filterTiddlers("[sameday[201304152200]sort[title]]").join(",")).toBe("$:/TiddlerTwo,TiddlerOne");
|
||||
});
|
||||
|
||||
describe("testing the is operator",function() {
|
||||
|
@ -132,3 +132,5 @@ João Bolila, @jbolila, 2014/01/05
|
||||
Chris Sugden, @csugden, 2014/01/13
|
||||
|
||||
Jeffrey Wilkinson, @buggyj, 2014/01/10
|
||||
|
||||
Simon Baird, @simonbaird, 2014/01/29
|
||||
|
Loading…
Reference in New Issue
Block a user