Feedsby Internet Solutions

RSS Dates and Time Zones: Getting pubDate Right

১ অক্টোবর, ২০২৬7 মিনিটে পড়াRSS ফিড
RSS Dates and Time Zones: Getting pubDate Right

Short answer: In RSS 2.0, each item’s pubDate must use the RFC 822 date format with English day and month names and an explicit time zone, for example Thu, 01 Oct 2026 07:29:00 +0000. Atom and JSON Feed use the ISO-style RFC 3339 format instead, such as 2026-10-01T07:29:00Z. Always include the correct offset, keep the original publication date stable, and never let an edit or a server time zone change move old items back to the top.

Why dates in feeds matter more than they look

A feed item’s date seems like a detail, but many tools depend on it. RSS readers sort items by date and use it to decide what counts as new. Automation tools often compare dates with the time of their last check to decide which items to post. Search and aggregation services use dates to judge freshness. Podcast apps order episodes by them.

When a date is missing, malformed or in the wrong time zone, the symptoms are confusing: posts appear hours in the future, old articles reappear as new, a scheduled social post goes out late, or episodes are listed in the wrong order. Most of these problems trace back to a handful of avoidable mistakes.

The RSS 2.0 pubDate format

The RSS 2.0 specification says that dates follow the format defined in RFC 822, with the common allowance of a four-digit year. A correct value looks like this:

<pubDate>Thu, 01 Oct 2026 07:29:00 +0000</pubDate>

The parts are:

The same format applies to the channel-level lastBuildDate and pubDate. For a full tour of the other elements, see the anatomy of an RSS 2.0 feed.

Atom and JSON Feed dates

Atom uses a different and stricter format based on RFC 3339, which is a profile of ISO 8601: 2026-10-01T07:29:00Z or 2026-10-01T10:29:00+03:00. Atom also separates two ideas that RSS mixes together:

JSON Feed follows the same RFC 3339 style with date_published and date_modified. If you are choosing between formats, RSS versus Atom and JSON Feed versus RSS compare them in more depth. Whatever the format, the rule is the same: a clear, machine-readable timestamp with an explicit offset.

Format comparison at a glance

Format Element Example Time zone
RSS 2.0 pubDate, lastBuildDate Thu, 01 Oct 2026 07:29:00 +0000 Numeric offset or GMT
Atom published, updated 2026-10-01T07:29:00Z Z or +hh:mm offset
JSON Feed date_published, date_modified 2026-10-01T07:29:00+00:00 Z or +hh:mm offset
Web page (JSON-LD) datePublished, dateModified 2026-10-01T07:29:00+00:00 Offset recommended

Time zones: the most common source of trouble

A timestamp without a correct offset is a guess. Readers and tools then interpret it as UTC or as their own local time, and the item appears shifted by several hours. Typical causes:

The safest approach is to store all timestamps in UTC internally and output them in UTC with +0000 or Z. Readers convert to each user’s local time anyway, so there is no benefit in publishing local times.

A five-minute test catches most time zone problems:

  1. Publish a test post, or note the exact time a real post went live.
  2. Open the raw feed and find that item’s date.
  3. Convert the date to your local time, taking the offset into account.
  4. Compare it with the time shown in your CMS. They should match to the minute.
  5. Repeat the check after the next daylight saving change, because that is when hard-coded offsets break.

If you use a CMS such as WordPress, set the site’s time zone as a city rather than a fixed UTC offset in the general settings, so daylight saving is handled automatically.

Published versus updated: keep the original date stable

RSS 2.0 has only one item date, pubDate, and it means publication. A frequent mistake is to fill it with the last-modified date. Then every time an editor fixes a typo, the item jumps back to the top of readers and automation tools may treat it as new content.

Use these rules:

  1. Set pubDate once, at first publication, and do not change it for minor edits.
  2. If you republish something as genuinely new content, give it a new date and consider whether it deserves a new item altogether.
  3. In Atom, update <updated> only for meaningful changes, and keep <published> fixed.
  4. Keep the item’s GUID stable regardless of dates. Readers use the identifier, not the date, to recognise items they have already shown; the details are in RSS GUIDs and duplicate items.

Other date mistakes and how to spot them

The quickest way to find these problems is to run the feed through a validator; the guide to validating an RSS feed and fixing common errors shows which tools to use and how to read their warnings.

Dates when a feed is generated from a web page

When a site has no feed and one is created from its pages, dates are harder. Many pages show relative dates such as “3 days ago”, dates in local languages, or no date at all on list pages. Good page-to-feed tools look for machine-readable dates first, such as the datePublished property in JSON-LD article data or the datetime attribute on a <time> element, before falling back on visible text. That is one reason structured data helps, as explained in how JSON-LD helps turn pages into feeds.

If you publish a website and want others to follow it reliably, marking up dates with <time datetime="…"> and JSON-LD costs little and improves every tool that reads your pages.

How Feeds handles dates

Feeds turns pages without RSS into clean feeds with titles, images, summaries and dates. It uses a site’s existing feed when there is one and reads JSON-LD article data where a page provides it, so machine-readable dates are used when they exist. Before a feed is created you see a preview of the items found, which is the moment to check that the dates look right. You can create a feed from any page on the free plan.

Related reading

The bottom line

Feed dates are small strings with big consequences. Use the RFC 822 format with English names and a numeric offset in RSS, RFC 3339 in Atom and JSON Feed, and output everything in UTC. Keep the original publication date stable, reserve updated dates for meaningful changes, and validate your feed after any change to your CMS, server or time zone settings.

FAQ

What date format does RSS pubDate use?

RSS 2.0 uses the RFC 822 format with a four-digit year, for example Thu, 01 Oct 2026 07:29:00 +0000. Day and month names must be English abbreviations, and a numeric time zone offset is the safest choice.

Can I use ISO 8601 dates in an RSS feed?

Not validly in RSS 2.0 pubDate, although many readers tolerate it. ISO-style RFC 3339 dates are correct in Atom and JSON Feed. If you prefer ISO dates, consider publishing Atom.

Why do my feed items show the wrong time in RSS readers?

Usually the time zone offset is missing or wrong, often because the server’s time zone differs from the site’s. Output timestamps in UTC with a +0000 offset and let readers convert to local time.

Should pubDate change when I update an article?

No. pubDate should stay the original publication date. Changing it makes old items jump back to the top of readers and can trigger automation tools to repost them.

Is pubDate required in RSS?

It is optional in the specification, but you should always include it. Without it, readers and automation tools fall back on the time they first saw an item, which makes ordering unreliable.

#Feed formats#Feed validation#Publishing#RSS
আপনার প্রথম ফিড তৈরি করুন — বিনামূল্যে।যেকোনো পেজ থেকে ফিড। প্রতিটি ক্যাটালগে প্রতিটি প্রোডাক্ট।
বিনামূল্যে শুরু

ব্লগ থেকে আরও

সব আর্টিকেল →
Internet Solutions

আমাদের টিমের আরও কিছু

Internet Solutions-এর তৈরি। আমাদের অন্য প্রোডাক্টগুলোও ব্যবহার করে দেখুন — প্রতিটি আলাদা ভাবে আপনার সময় বাঁচায়।

internet-solutions.net ↗
সোশ্যাল মিডিয়ায় অটো-পোস্টিংচালু
PostRSS

আপনার RSS ফিডের নতুন পোস্ট স্বয়ংক্রিয়ভাবে Facebook, X, LinkedIn, Telegram এবং আরও ৬০+ নেটওয়ার্কে চলে যায়।

ফ্রি প্ল্যান · ২০১৪ থেকেদেখুন →
ওয়েবসাইটের জন্য AI লাইভ চ্যাটচালু
Talkmio

আপনার ওয়েবসাইট আপনার নিজের কনটেন্ট থেকে, ভিজিটরের ভাষায়, ২৪/৭ উত্তর দেয়।

ফ্রি প্ল্যান · কার্ড লাগবে নাদেখুন →
AI সহকারীচালু
Ask Mio

চ্যাট, কোড, ডিজাইন, লেখা ও গবেষণা। প্রতিটি কাজের জন্য Mio সেরা মডেল বেছে নেয়।

ফ্রি প্ল্যানদেখুন →
ব্লগ ও সোশ্যাল মিডিয়ার জন্য AI অটোপাইলটচালু
AI Blog Autopilot

AI ২,০০০–৩,০০০ শব্দের SEO আর্টিকেল লেখে এবং প্রতিটি ৫৮+ সোশ্যাল নেটওয়ার্কে শেয়ার করে।

প্রথম ৩টি আর্টিকেল ফ্রিদেখুন →
ওয়েবসাইট হেলথ চেকচালু
Site AI Audit

SEO, স্পিড, SSL, নিরাপত্তা ও ইমেইল সেটআপ একটি রিপোর্টে — কোনটা আগে ঠিক করতে হবে সেই ক্রমে সাজানো।

প্রথম অডিট ফ্রিদেখুন →
গভীর SEO ক্রলচালু
Site SEO AI Audit

AI সার্চে দৃশ্যমানতাসহ ৭টি ক্ষেত্রে পূর্ণ SEO ক্রল, প্রভাব অনুযায়ী সাজানো সমাধানসহ।

প্রথম অডিট ফ্রিদেখুন →
ওয়েব ডেভেলপমেন্ট ও SEOচালু
Internet Solutions

ওয়েবসাইট, ই-শপ ও কাস্টম সিস্টেম — আমাদের টিম ডিজাইন করে, তৈরি করে এবং চালায়।

২০১১ থেকেদেখুন →
Feeds
গোপনীয়তার সারসংক্ষেপ

এই ওয়েবসাইট কুকি ব্যবহার করে যাতে আমরা আপনাকে সর্বোত্তম ব্যবহারকারী অভিজ্ঞতা দিতে পারি। কুকির তথ্য আপনার ব্রাউজারে সংরক্ষিত থাকে এবং এমন কাজ করে যেমন আপনি ফিরে এলে আপনাকে চিনতে পারা এবং ওয়েবসাইটের কোন অংশ আপনার কাছে সবচেয়ে আকর্ষণীয় ও উপযোগী তা আমাদের টিমকে বুঝতে সাহায্য করা।