Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6993315
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T19:44:56+00:00 2026-05-27T19:44:56+00:00

<abbr class=timeago title='<%= DateTime.UtcNow.ToString(yyyy-MM-ddTHH:mm:ssZ) %>’><%= String.Format({0:MMMM d, yyyy}, DateTime.Now) %></abbr> + $(document).ready(function () {

  • 0
    <abbr class="timeago" title='<%= DateTime.UtcNow.ToString("yyyy-MM-ddTHH:mm:ssZ") %>'><%= String.Format("{0:MMMM d, yyyy}", DateTime.Now) %></abbr>

+

    $(document).ready(function () {
        $('abbr.timeago').timeago();
    });

=

<abbr class="timeago" title="2011-12-29T00:21:40Z">December 29, 2011</abbr>

Rendered in the browsers as: December 29, 2011.

Why? Thanks.

EDIT:

i’ve resolved this issue had an error in my console.
However, this still fails to do anything when this item is being passed to jquery templates as ${streamObj.DateTime} =>

objStreamItem.DateTime = DateTime.Parse(sqlReader["DateTime"].ToString()).ToString("yyyy-MM-ddTHH:mm:ssZ");

Also, the jquery template is loaded from an external js file which in turn is loaded depending on some other page load criteria.

thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T19:44:57+00:00Added an answer on May 27, 2026 at 7:44 pm

    It works for me…

    HTML:

    <abbr class="timeago" title="2011-12-29T00:21:40Z"></abbr>
    

    JavaScript:

    $( '.timeago' ).timeago();
    

    Live demo: http://jsfiddle.net/B5ebS/

    Your code probably throws an error somewhere causing your program to break…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Say I have use date = r.find('abbr') to get <abbr class="dtstart" title="2012-11-16T00:00:00-05:00">November 16, 2012</abbr>
I have an <abbr> tag with class timeago in my HTML. When I set
Take the following code: <abbr title=World Health Organization>WHO</abbr> Can we style an abbr tag's
I have a TinyMCE field initialized as follows: ... extended_valid_elements: ul[type],li,a[name|href|target|title],img[class|src|border|alt|title|hspace|vspace|width|height|align|name|style],hr[class|width|size|noshade],span[class|align|style],iframe[src|class|width|height|name|align],#p/div,strike, force_br_newlines: true, mode
public class BlogComment { public int ID; public int UserID; public string Username; public
<span class=bold>Some Title</span> .bold { font-weight:bold; } This renders boldly, however this: <strong>Some Title</strong>
I've often seen examples like this in other projects' code: class Modela(models.Model): abbr =
I tried some ways but no chance: http://timeago.yarp.com/ $(function() { $('abbr.timeago').timeago(); $('.more').click(function() { $.getJSON('http://127.0.0.1:9987/test/c.php?callback=?',
I need to set an HTML class to this rails select and i have
How change default id or class, which produce simple form: = simple_form_for(@account, url: account_url,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.