Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • C CiviCRM Core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,372
    • Issues 1,372
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • CiviCRM Core
  • Issues
  • #413

Closed
Open
Created Sep 28, 2018 by thoni56@thoni56

<abbr> date and time format not to Google Analytics liking

We have been starting to get errors from Google Search Console saying "Illegal value type in field hcalendar#dtstart" (or something, translated from Swedish).

Inspecting the page elements you find

<div class="crm-section event_date_time-section">
  <div class="label">När</div>
    <div class="content">
      <abbr class="dtstart" title="20 oktober, 2016 08:30">
        20 oktober, 2016 08:30</abbr>
                        &nbsp; till &nbsp;
                                                <abbr class="dtend" title="17:00">
                17:00
      </abbr>
    </div>
  <div class="clear"></div>
</div>

This corresponds to the event information pane in an event page.

Looking at http://microformats.org/wiki/abbr-design-pattern you can see that it, in fact, does not match the proposed formats.

I have no knowledge of the state of this format, it seems a little harsh from Google to point this out as an error, but there you are. Maybe they just want us to know that they found an event, but could not parse the information. And that's fine.

Google offers this: https://developers.google.com/search/docs/data-types/event

I have no non-localized CiviEvent to try this out on, so I don't know if this is a localization issue or a general problem.

Edited Sep 28, 2018 by thoni56
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking