{"id":989,"date":"2026-08-21T13:25:00","date_gmt":"2026-08-21T13:25:00","guid":{"rendered":"https:\/\/eugigufo.net\/en\/?p=989"},"modified":"2026-05-10T01:04:51","modified_gmt":"2026-05-10T01:04:51","slug":"calendar-generator-on-the-website","status":"publish","type":"post","link":"https:\/\/eugigufo.net\/en\/blog\/989\/","title":{"rendered":"Calendar generator on the website"},"content":{"rendered":"<p>During some scheduled maintenance work on&nbsp;the website, I&nbsp;noticed a&nbsp;few imperfections in&nbsp;one of&nbsp;my&nbsp;oldest online tools: the <a href=\"https:\/\/eugigufo.net\/en\/tools\/calende\/\">calendar generator for any year<\/a> starting from AD&nbsp;1. First of&nbsp;all, for all years between the&nbsp;1st and the&nbsp;18th&nbsp;centuries, an&nbsp;error message appeared in&nbsp;the code next to&nbsp;each monthly table (even though the code was in&nbsp;fact producing the requested result). Secondly, the tool generated the Gregorian calendar even for the period from&nbsp;AD&nbsp;1 to&nbsp;1581&mdash;that is, for a&nbsp;period during which only the Julian calendar was used throughout the world.<br \/>\nAnd at&nbsp;last I&nbsp;have corrected these imperfections! It&nbsp;was fairly straightforward, so&nbsp;it&nbsp;did not take me&nbsp;long, but I&nbsp;have produced something that should be&nbsp;of&nbsp;great practical use to&nbsp;users.<br \/>\nAt&nbsp;the same time, I&nbsp;have finally added two other features that seemed important to&nbsp;me. The&nbsp;first is&nbsp;the ability to&nbsp;generate a&nbsp;calendar not only for a&nbsp;given year, but also for a&nbsp;specific country or&nbsp;territory: after all, even if&nbsp;one considers only the Julian\/Gregorian pair of&nbsp;calendars, the transition from one to&nbsp;the other took place in&nbsp;different years in&nbsp;different states. The second is&nbsp;the ability to&nbsp;save the generated calendar as&nbsp;a&nbsp;PDF (and\/or print&nbsp;it) without the website navigation elements.<br \/>\n<a href=\"https:\/\/eugigufo.net\/en\/tools\/calende\/\"><img decoding=\"async\" src=\"https:\/\/eugigufo.net\/images\/wpblogs\/generatorecalendari2byeugigufoen.jpg\" title=\"Calendar generator\" border=\"0\"><\/a><br \/>\nHowever, there are still a&nbsp;few aspects on&nbsp;which&nbsp;I need to&nbsp;reflect. For example, how to&nbsp;take into account the different dates on&nbsp;which the Gregorian calendar was adopted in&nbsp;the numerous German duchies and principalities, as&nbsp;well as&nbsp;in&nbsp;Eastern and Northern Europe, without turning the calendar generator&rsquo;s menu into an&nbsp;endless list of&nbsp;options. If&nbsp;anyone has any ideas on&nbsp;this subject, or&nbsp;suggestions for additional features for my&nbsp;calendar generator, please do&nbsp;write to&nbsp;me!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>During some scheduled maintenance work on&nbsp;the website, I&nbsp;noticed a&nbsp;few imperfections in&nbsp;one of&nbsp;my&nbsp;oldest online tools: the calendar generator for any year starting from AD&nbsp;1. First of&nbsp;all, for all years between the&nbsp;1st and the&nbsp;18th&nbsp;centuries, an&nbsp;error message appeared in&nbsp;the code next to&nbsp;each monthly table (even though the code was in&nbsp;fact producing the requested result). Secondly, the tool generated <a href=\"https:\/\/eugigufo.net\/en\/blog\/989\/\">[&#8230;]<br \/>Read more >>><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[17,18],"class_list":["post-989","post","type-post","status-publish","format-standard","hentry","category-sitenews","tag-calendar","tag-history"],"_links":{"self":[{"href":"https:\/\/eugigufo.net\/en\/wp-json\/wp\/v2\/posts\/989","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eugigufo.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eugigufo.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eugigufo.net\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/eugigufo.net\/en\/wp-json\/wp\/v2\/comments?post=989"}],"version-history":[{"count":0,"href":"https:\/\/eugigufo.net\/en\/wp-json\/wp\/v2\/posts\/989\/revisions"}],"wp:attachment":[{"href":"https:\/\/eugigufo.net\/en\/wp-json\/wp\/v2\/media?parent=989"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eugigufo.net\/en\/wp-json\/wp\/v2\/categories?post=989"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eugigufo.net\/en\/wp-json\/wp\/v2\/tags?post=989"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}