User Tools

Site Tools


cookbooks:3.2.x:transformations

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
cookbooks:3.2.x:transformations [2011/12/15 16:17]
85.178.75.55 [{s.prefixes.quoted[,len]}]
cookbooks:3.2.x:transformations [2011/12/15 17:11]
85.178.75.55 [{s.replace,match,repl}]
Line 185: Line 185:
 $var(x) = "abababa"; $var(x) = "abababa";
 $(var(x){s.replace,a,c} => "cbcbcbc" $(var(x){s.replace,a,c} => "cbcbcbc"
 +</code>
 +
 +==== {s.ftime,format} ====
 +
 +
 +Format the epoch in the pv according to the parameter. The parameter has to be strftime formatting string.
 +    
 +<code c>
 +$(TS{s.ftime,%Y-%m-%d %H:%M:%S})
 </code> </code>
 ===== URI Transformations ===== ===== URI Transformations =====
cookbooks/3.2.x/transformations.txt ยท Last modified: 2018/07/12 08:31 by gaaf