• Leon KLeon K, over 5 years ago

    I like non-automatic updating years in footers. It gives you some idea of when a website was last updated.

    13 points
  • Marcus CampbellMarcus Campbell, over 5 years ago (edited over 5 years ago )

    Copyright notices are a great example of a cargo cult. They are also amazingly, frustratingly inescapable.

    7 points
    • Mikko JMikko J, over 5 years ago

      Yes. Totally right on Berne. I don't mind that though. The 'copyright' vernacular is partially shorthand for what people call the timestamp they put in the footer, not so much to suggest this is an IP protection strategy.

      1 point
    • Ivan VásquezIvan Vásquez, over 5 years ago

      I'd upvote this more if I could. I had no idea about the Berne Convention. However, there are more than 168 countries in the world (195 according to Google, give or take a few disputes). Wouldn't it be advisable to keep the copyright notice for the other 27 countries? We are building global products, after all.

      1 point
      • Marcus CampbellMarcus Campbell, over 5 years ago

        The copyright notice is an American invention, introduced by the Copyright Act of 1802, so it would be wrong to assume it has any legal application internationally. For example: the modern format wouldn't have satisfied the US requirements for a notice before 1909.

        The countries that are not signatories to Berne, members/observers of the WTO TRIPS Agreement or members of the WIPO appear to make a very small list:

        • Kosovo
        • Marshall Islands
        • Palau
        • South Sudan
        • Timor-Leste

        Some of those countries may have laws that match, or aim to match, Berne.

        0 points
    • Luis RomeroLuis Romero, over 5 years ago (edited over 5 years ago )

      I wonder when I read 'copyright' in one site, if indeed they have done that, go to the office designated to book rights, or how that?

      0 points
  • Jonathan SuhJonathan Suh, over 5 years ago (edited over 5 years ago )

    Grunt grunt.template.today('yyyy');

    Liquid {{ site.time | date: "%Y" }}

    Ruby <%= Time.now.year %>

    Statamic {{ current_date format="Y" }}

    Twig {{ "now"|date("m/d/Y") }}

    I'm not familiar with Handlebars, Mustache to make those contributions.

    6 points
  • Darth BaneDarth Bane, over 5 years ago (edited over 5 years ago )

    Or just don't put a year in the footer, or a copyright for that matter. It's not needed. Copyright is automatic.

    I have no idea why my posts are hidden. Admin?

    2 points
  • Danny Zabolotny, over 5 years ago

    Thankfully I've had that PHP snippet in nearly every footer I've ever built. Manually updating footers is so 1999.

    0 points
  • Alex Kadis, over 5 years ago

    Out of curiosity, legally wouldn't "© 2010 - present" work?

    0 points
  • Ben FalardeauBen Falardeau, over 5 years ago

    ah! thanks. Great idea :)

    0 points
  • David DarnesDavid Darnes, over 5 years ago

    Simple yet effective idea. If I could make a suggestion, maybe put some common template engine snippets as well? Liquid, Twig, Handlebars…?

    0 points
    • Mikko JMikko J, over 5 years ago

      Good idea, thanks. I thought if the user wants to implement almost in anything else, they will already either know the answer or know what to Google for. But it's been great to see useful snippets shared in this thread and others, it's one step easier.

      0 points