Disable the now tag on Linux

NSDate is unavailable
This commit is contained in:
Kyle Fuller
2016-02-11 19:31:39 -05:00
parent 6deb93ac19
commit 3ec009381d
4 changed files with 15 additions and 2 deletions

View File

@@ -76,6 +76,8 @@ public class VariableNode : NodeType {
}
}
#if !os(Linux)
public class NowNode : NodeType {
public let format:Variable
@@ -114,6 +116,8 @@ public class NowNode : NodeType {
return formatter!.stringFromDate(date)
}
}
#endif
public class ForNode : NodeType {
let variable:Variable