Rhaenys_Targaryen Posted February 29, 2016 Share Posted February 29, 2016 12 minutes ago, Ran said: Just noticed that a couple of items on the front page -- Featured Article and Did You Know -- are not rendering right. I'm not quite sure why, but if someone who understands the templates can look at it, it'd be great. I don't know how to permanently fix it, but for now, it should be displaying correctly again. (or, perhaps, this is the permanent fix, I don't know, we should try to test that somehow). The template "days in month" is used for both featured articles and quotes, and that template was made with the statement that February has 28 days. As this year is a leap year, February has 29 days, and therefore, the template got confused. I changed the 28 to 29, and as far as I can tell, the display is correct again. I don't know if the template will display erroneously again if next year the month counts only 28 days again (we could perhaps test this by telling the template this month has 30 days, and see how it responds tomorrow), but for now, it works. If the template has troubles displaying when the month is a day shorter than is stated in the settings (as will be the case next year, if the template isn't adjusted), you could always choose to manually adjust the template when there's a leap year, as I did now Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.