Difference between revisions of "Template:Semorg-metric-measurement-date"

From SemanticOrganization
Jump to: navigation, search
(Created page with "<noinclude>{{semorg-bundle}}</noinclude><includeonly>{{#if:{{{1|}}} |{{#if:{{{2|}}} |{{#switch:{{{2}}} |year={{#time:Y|{{{1}}}}} |quarter={{#time:Y|{{{1}}}}}...")
 
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
 
     |{{#switch:{{{2}}}
 
     |{{#switch:{{{2}}}
 
       |year={{#time:Y|{{{1}}}}}
 
       |year={{#time:Y|{{{1}}}}}
       |quarter={{#time:Y|{{{1}}}}}/Q{{#expr:ceil({{#time:m|{{{1}}}}}/4)}}
+
       |quarter={{#time:Y|{{{1}}}}}/Q{{#expr:ceil({{#time:m|{{{1}}}}}/3)}}
 
       |month={{#time:F Y|{{{1}}}}}
 
       |month={{#time:F Y|{{{1}}}}}
 
       |week={{#time:Y/w|{{{1}}}}}
 
       |week={{#time:Y/w|{{{1}}}}}

Latest revision as of 10:20, 3 January 2022

This page is part of the Semantic Organization extension.