EKsumic's Blog

let today = new Beginning();

Click the left button to use the catalog.

OR

使用SimpleMvcSitemap产生的Sitemap的lastmod里面的日期格式错误

使用SimpleMvcSitemap产生的Sitemap的lastmod里面的日期格式错误,Google无法读取这样的Sitemap

Google Console 提交Sitemap出错,日期无效:

报错:
发现无效日期。请修正日期或格式,然后重新提交。

详细信息:
父标记:url
标记:lastmod

根据《国际标准ISO 8601》 

  • 2020-4-20(×)
  • 2020-04-2(×)
  • 2020-4-2(×)
  • 2020-04-20(√)

日期格式标准应该是2020-04-20的表示方法。

Google可以另外接受这样的日期格式:

<lastmod>2020-07-01T13:24:31+09:00</lastmod>

 

解决方案:

public DateTime GetCorrectDate(DateTime dateTime)
{
    DateTime lta = dateTime;
    DateTime w3cDateTime = new DateTime(lta.Year, lta.Month, lta.Day, lta.Hour, lta.Minute, lta.Second, DateTimeKind.Local);
    return w3cDateTime;
}

使用方式:

List<SitemapNode> nodes = new List<SitemapNode>
{
    new SitemapNode(Url.Action("Index", "Home"))
    {
        ChangeFrequency = ChangeFrequency.Daily,
        LastModificationDate =GetCorrectDate(DateTime.UtcNow),               
        Priority =1.0M
    },          
};

参考文档:

https://github.com/uhaciogullari/SimpleMvcSitemap/issues/16

This article was last edited at 2020-07-01 22:30:01

RonaldjeF

WOW Cathie Wood holds these stocks for triple-digit upside — and they're on sale. Stable dividend stocks are great for the risk-averse. But for investors looking to add some pop to their portfolios, nothing beats the long-term upside of rapidly expanding growth stocks.

reply

2021-09-23 21:35:19

RonaldjeF

London Market Open: boohoo sinks after warning on profit margins Alliance News - Stock prices in London opened higher on Thursday with the internationally exposed FTSE 100 supported by sterling weakness, while on AIM fashion retailers were lower after boohoo cut its guidance.

reply

2021-10-12 03:10:39

Irma

May I simply just say what a comfort to uncover a person that really understands what they're discussing on the web. You certainly understand how to bring a problem to light and make it important. More and more people really need to read this and understand this side of your story. I was surprised that you're not more popular since you certainly have the gift.

reply

2021-11-20 06:04:17

Lachlan

You really make it seem so easy with your presentation but I find this matter to be really something that I think I would never understand. It seems too complex and very broad for me. I am looking forward for your next post, I will try to get the hang of it!

reply

2021-11-23 15:40:46

RonaldjeF

Black market goods divert revenue from important projects The public and private sector are working together to safeguard communities from scammers.

reply

2021-12-12 06:37:30

RonaldjeF

Black market goods divert revenue from important projects The public and private sector are working together to safeguard communities from scammers.

reply

2021-12-14 03:38:36

Richardthott

I’m not sure where you’re getting your info, but good topic. I needs to spend some time learning more or understanding more. Thanks for magnificent info I was looking for this information for my mission.

reply

2022-08-18 19:57:27

doxycyclinethott

I am not sure where you’re getting your info, but great topic. I needs to spend some time learning much more or understanding more. Thanks for excellent info I was looking for this information for my mission.

reply

2022-12-01 18:00:36

lasixthott

I’m not sure where you’re getting your information, but good topic. I needs to spend some time learning much more or understanding more. Thanks for great info I was looking for this information for my mission.

reply

2022-12-06 06:19:43

развратное порно

Respect to post author, some fantastic information

reply

2022-12-28 20:02:28

antibioticsfah

Thanks for fantastic info I was looking for this info for my mission.

reply

2022-12-28 20:13:18

pornodom.top

Thank you ever so for you blog. Really looking forward to read more.

reply

2023-01-10 15:05:38

antibiotics-fah

Any substance that inhibits the growth and replication of a bacterium or kills it outright can be called an antibiotic. Antibiotics are a type of antimicrobial designed to target bacterial infections within (or on) the body. Antibiotics are used to treat bacterial infections. Some are highly specialised and are only effective against certain bacteria. Others, known as broad-spectrum antibiotics, attack a wide range of bacteria, including ones that are beneficial to us. Special offer: buy antibiotics onlin

reply

2023-01-13 19:40:12

JanaKef

Hello everybody! My name is Yana, I live in Sweden, a beautiful blonde as it should be for Swedish women) I had children, it was time for school assignments and lessons and the real horror began (( Constant lack of sleep, nerves, checks and assessments at school.. I even stopped sleeping with my husband, I'm just not in the mood. A well-known friend advised websites with homework, where you can find answers and quickly solve lessons, and then give yourself to your favorite activities! By the way,

reply

2023-03-17 22:38:34

TobiasRen

nothing special

reply

2023-03-18 11:14:01

omg omg сайт зеркало

&#x4F7F;&#x7528;SimpleMvcSitemap&#x4EA7;&#x751F;&#x7684;Sitemap&#x7684;lastmod&#x91CC;&#x9762;&#x7684;&#x65E5;&#x671F;&#x683C;&#x5F0F;&#x9519;&#x8BEF; - EKsumic&#x27;s Blog - Omg Omg - официальный сайт торговой анонимной площадки, которая является самой крупной в РФ. Перейдя в Omg Omg магазин, вы получаете доступ ко всем товарам. И здесь каждый сможет найти для себя подходящее решение. На данный момент на площадке можно увидеть миллионы товаров и услуг разного направления и ее посещают люди из всех стран СНГ. При этом Omg Omg union не требует дополнительной установки браузера TOR и соединения через него. Площадка полностью анонимна и работает автономно. Вам доста

reply

2023-03-19 01:02:59

FrancisjaguE

</a> </a>

reply

2023-03-20 10:17:24

Qazzyloows

not working

reply

2023-03-22 06:47:05

KkkzellRut

Thanks, I've been looking for this for a long time

reply

2023-03-22 09:10:31

Pleoneadory

Лицензионные казино bestopcasino.com Сегодня казино - это не только дополнительный заработок, но и вероятность приятно провести произвольное время. В казино любят играть еще с древних времен, узнать свою фортуну, повеселиться и выиграть приличную сумму. В интернете есть огромнейший ассортимент организаций, которые предлагают различные игры и автоматы, но как выбрать честную? Ведь также на рынке существует множество обманщиков, которые планируют обмануть своих клиентов любыми способами. На онлайн порта

reply

2023-03-22 10:42:41

Kzqazrdgak

interesting post

reply

2023-03-23 04:42:22

Qazkztog

thanks, interesting read

reply

2023-03-23 08:44:43

Kazkzrdges

very interesting, but nothing sensible

reply

2023-03-23 11:28:48

SebastianVamma

Laterstudiesshowed for assessing activityofthe cerebralhemispheres that electrical stimulation of the midbrain reremained the scientific examination, this problem ticular core might excite forebrain desynchro31 could not be resolved. Deficiencies of C1 esterase inhibitor end in recurrent angioedema, which refers to episodic nonpitting edema of soppy tissue, such as the face. Comparison of outcomes of transurethral prostate resection in urodynamicallyobstructed versus chosen urodynamicallyunobstructed or equ

reply

2023-03-23 18:57:53

KzkazSains

interesting news

reply

2023-03-23 18:58:36

Qazkztog

interesting post

reply

2023-03-24 04:59:32

Kzqazrdgak

very interesting, but nothing sensible

reply

2023-03-24 09:00:28

tea.kiev.ua

Вас приветствует компания "Tea & Coffee UA"! Мы предлагаем широкий выбор качественных чайных и кофейных напитков, как оптом, так и в розницу. Наша цель - предоставить Вам истинное наслаждение от потрясающих ароматов и изысканных вкусов со всего мира. Чай - от классических сортов черного и зеленого до экзотических белых и улунов. Погрузитесь в мир цветочных, фруктовых и травяных смесей, чтобы найти свой идеальный вкус. Кофе - наслаждайтесь богатством вкуса от легких нот арабики до глубоких и насыще

reply

2023-03-24 11:04:13

TobiasRen

very interesting, but nothing sensible

reply

2023-03-25 01:27:17

QaznardBal

Thanks, I've been looking for this for a long time

reply

2023-03-25 03:42:35

evrorem.kiev.ua

Устали от старых обоев и потрескавшейся краски? Хотите преобразить свое жилище, не затрачивая все свои силы и время? Не волнуйтесь, мы знаем, как помочь! Встречайте компанию "ЕвроРем Киев" - ваш надежный партнер в сфере качественного и доступного ремонта квартир. Воспользуйтесь нашими услугами, и: - Получите индивидуальный дизайн-проект, созданный профессионалами с учетом ваших пожеланий и бюджета; - Сэкономьте время, благодаря нашим быстрым и аккуратным мастерам, которые обеспечат ремонт "

reply

2023-03-25 13:42:21

RamondAduse

L¦O¦L¦I¦T¦A¦C¦P xref.ws/QXpRpB bre.is/gfox9Qaa L¦O¦L¦I¦T¦A¦C¦P

reply

2023-03-26 10:25:04

x

Please let me know if you're looking for a author for your weblog. You have some really good articles and I feel I would be a good asset. If you ever want to take some of the load off, I'd absolutely love to write some content for your blog in exchange for a link back to mine. Please send me an e-mail if interested. Regards!

reply

2023-03-26 16:45:43

viagra911.com.ua

Представляем вашему вниманию широкий ассортимент продукции для улучшения сексуальной жизни, включая таблетки для повышения мужской потенции, женские возбудители, препараты для продления полового акта, а также лубриканты и смазки высочайшего качества - все это по самым доступным, лучшим и конкурентным ценам в Киеве и по всей Украине! Мы гарантируем нашим клиентам высочайший уровень качества и результативность всех представленных товаров. Благодаря сотрудничеству с проверенными и надежными производителям

reply

2023-03-27 08:53:39

RaymondUnsag

Впервые с начала спецоперации в украинский порт приплыло иностранное торговое судно под погрузку. По словам министра, уже через две недели планируется приползти на уровень по меньшей мере 3-5 судов в сутки. Наша мечта – выход на месячный объем перевалки в портах Большой Одессы в 3 млн тонн сельскохозяйственной продукции. По его словам, на сборе в Сочи президенты терли поставки российского газа в Турцию. В больнице актрисе рассказали о работе медицинского центра во время военного положения и подали подарки о

reply

2023-03-28 12:08:15

trbet

trbet

reply

2023-03-29 03:29:16

Kazkzrdges

Thanks, I've been looking for this for a long time

reply

2023-03-29 17:35:23

ссылка на omgomg

&#x4F7F;&#x7528;SimpleMvcSitemap&#x4EA7;&#x751F;&#x7684;Sitemap&#x7684;lastmod&#x91CC;&#x9762;&#x7684;&#x65E5;&#x671F;&#x683C;&#x5F0F;&#x9519;&#x8BEF; - EKsumic&#x27;s Blog - Омг Омг - официальный сайт крупнейшей в СНГ площадки с интересными товарами. Сегодня Омг Омг онион работает без блокировок и гарантирует безопасность пользователей. Если ранее, для перехода требовалось соединение Omg Omg Tor, то сейчас не нужен даже ВПН. Актуальная ссылка ОмгОмг онион, по которой можно зайти на сайт https

reply

2023-03-31 10:16:11

SaraiTajcity

تقدم شركة مدينة نصر للإسكان والتعمير، مشروعها الكبير كمبوند تاج سيتي القاهرة الجديد&#1

reply

2023-03-31 17:54:22

велосипеды цена

велосипеды цена

reply

2023-04-02 17:12:41

Michaelalunk

BongaCams, or simply BongaCam as it is known in the webcam world, is an adult webcam service that was established in 2012. Although not all BongaCams reviews have been positive, the website has established a reputation for its wide range of free live webcam shows. BongaCams.com will most likely remind you of other free webcam sites we've evaluated in the past. Bonga Cams, on the other hand, has a few unique features that set it apart in the crowded world of adult webcams, as well as a few severe

reply

2023-04-02 21:04:26

nezabudkindit

It's remarkable to pay a quick visit this site and reading the views of all colleagues concerning this post, while I am also eager of getting know-how.

reply

2023-04-03 03:27:35

GrishaCubre

Другая разряд бизнесменов считает, что Фейсбук не для них, беспричинно как там нет целевой аудитории. В этом, очевидно, логики больше. Сразу скажем, который в данной соцсети (сообразно к России), сосредоточена комната 30+, с высшим образованием, со средним месячным доходом и выше среднего. Когда брать срез сообразно интересам и роду деятельности, то дозволено выделить маркетологов, предпринимателей, журналистов, преподавателей вузов, политиков и т.п. Эдакая современная интеллигенция. Вписывается ваша ЦА в э

reply

2023-04-03 05:07:02

omg omg даркнет

&#x4F7F;&#x7528;SimpleMvcSitemap&#x4EA7;&#x751F;&#x7684;Sitemap&#x7684;lastmod&#x91CC;&#x9762;&#x7684;&#x65E5;&#x671F;&#x683C;&#x5F0F;&#x9519;&#x8BEF; - EKsumic&#x27;s Blog - Ищите подходящую площадку для покупки товаров? Тогда стоит рассмотреть сайт Омг Омг, который является самой крупной площадкой в странах СНГ. Здесь ежедневно покупают десятки тысяч товаров. И каждый сможет найти что-то на свой вкус. Продавцы на сайте имеются из любой точки СНГ, во всех городах, как крупных, так и небольших,

reply

2023-04-03 19:09:25

zubdokeloge

Хирургическая имплантация в битце Имплантология на сегодняшний день- самое острое назначение в стоматологии, дающая возможность восстанавливать отсутствующие зубы. Современная медицина достигла немало, только при этом люди то и дело берут под сомнение, а нужно ли подбирать данную хирургическую операцию, вероятные при этом риски. Чтобы развеять текущие подозрения, давайте поговорим об имплантатах, тщательнее, в отношении того, по какой причине не стоит переживать о постановки импланта и какие существуют

reply

2023-04-04 03:25:41

CharlesBlipt

The truth is a person charged with a crime is going to collect a half-baked offer, without having the skills of a reliable attorney. Therefore, in the event that you or a member of family happens to be accused of carrying out a criminal activity, do not hesitate to get hold of certainly one of our Los Angeles county criminal defense attorney experts. Our team We only occupy our positions with all the great judiciary intellects in the neighborhood. Our team of law experts are particularly familiar with what

reply

2023-04-05 03:39:32

Hairlosstalk

Как ни печально, но облысением страдает около 80 % мужчин. Согласно статистике, первые признаки потери волос появляются в возрасте 20–30 лет. До 80% мужчин в мире страдают облысением от андрогенетической алопеции. Если Вы хотите гарантированно и полностью избавиться от андрогенной алопеции и ее последствий с полным 100% восстановлением выпавших волос на лысине за 1 год, мы предлагаем лечение выпадения волос методом "заместительной гормональной терапии" (ЗГТ) а также сульфата миноксидила/миноксидил сульфата

reply

2023-04-05 05:48:14

CurtisClott

Ясли включает в себе постные экстракты равным образом витамины, коие подсобляют улучшить перфузия и питание мозга, повышают фундаментальность к стрессу, облагораживают настроение также снижают ярус усталости.Насильственные тренинга вливают правильные экивоки к укреплению мускул, таковые как влезание туловища, отжимания, приседания не без; отягощением (а) также т.д. Любое упражнение исполняется в течение несколько подходов с многообразным численностью повторений и коротким развлечением между подходами.Главны

reply

2023-04-05 08:08:42

DavidAbido

StormGain is a cryptocurrency exchange where you can buy, sell and exchange various digital assets, including Bitcoin, Tether, Dash, Monero, Tron and many others. Trading tools are available on the platform, as well as browser-based and mobile versions. One of the most interesting features of StormGain is the mining option (tap), which allows you to earn cryptocurrency without investing. You can click a button every 4 hours and receive satoshi until your balance reaches the minimum amount of $10. You can

reply

2023-04-05 20:43:25

NewenerdgeClott

Нижегородское афера АО «НИПОМ» первым в России внедрило у себя для предприятии СУ энергозатратами для базе новейшего продукта в области управления энергоресурсами — программного комплекса Energo Supervisor Pro. Это позволило достичь существенной экономии ради счет возможности разлагать и назначать затраты на потребление энергии по месту и причине их возникновения, осуществлять прогнозирование нагрузки и закупки энергоресурсов.Последующий пример: график суточного и среднего потребления энергоресурсов (Рис. 4

reply

2023-04-07 13:14:00

CraigHap

Уважаемый потенциальный клиент, Мы рады предложить вам уникальную возможность уве

reply

2023-04-07 13:29:52

Meganprony

Sniffing candles with my best friend: So my best friend and I were in a super market and there were a lot of new candles. They all smelled strange so we started to think about names we could give them вЂ˜grandma’s toilet cleaning agent’ or sth like this. Whatever I guess we sniffed to much candles because we started laughing very hard and I lay on the floor and my best friend fell into to pasta shelf which made us laugh even more and louder and people were already staring at us. Suddenly my brother’s

reply

2023-04-20 15:16:56

JamsTog

¦¦¦ Chi¦ld lo¦ve coll¦ection jx.ax/0Qh ¦¦¦ Chi¦ld lo¦ve coll¦ection jx.ax/0Qh ¦¦¦

reply

2023-04-20 19:23:24

GalenPt

Best essay writing service ESSAYERUDITE.COM

reply

2023-04-22 05:26:08

GregoryDiunk

Are you planning a falter trap to Florida or Miami and lack to suffer indulgence and sophistication like on no account before? Have planned you considered renting an extraordinary jalopy to add some nervousness and glamor to your vacation? Florida and Miami are known after their beautiful weather, stunning beaches, and vibrant nightlife. But benefit of numberless visitors, it's also an possibility to indulge in the opulence and squandering that the governmental has to offer. Renting an exotic automobil

reply

2023-04-25 10:00:07

RichardNanna

Hello my name is Matthew D'Agati. Solar technology the most promising and efficient types of renewable energy, which is rapidly gaining interest as a main energy source on the job. In the future, it's likely that solar technology is the dominant source of energy at work, as more and more companies and organizations adopt this neat and sustainable energy source. In this specific article, we're going to discuss why you should change to renewable energy sources such as solar technology as quickly as possibl

reply

2023-04-26 10:59:31

Robertslaft

Hola, volia saber el seu preu.

reply

2023-04-28 09:38:05

Johnniesax

Anyone know what to do if you can't get into ChatGPT?

reply

2023-04-29 19:27:45

BrentNum

Котирующаяся на Nasdaq Bit Digital выпустила финансовый отчет, согласно которому доход майнингово&

reply

2023-05-02 06:38:41

Robertslaft

Szia, meg akartam tudni az árát.

reply

2023-05-03 18:51:49

RodneyBer

Давно мечтаешь обновить свой гардероб, но все время не хватает времени и сил сходить в магазин? Или может быть, собираешься подарить своим близким что-то особенное, но не знаешь, где найти то, что тебе нужно? В этом случае, интернет-шопинг станет твоим спасением! Здесь ты найдешь все, что тебе нужно, в одном месте. Подарки для любого повода, одежду и обувь, технику и электронику, косметику и украшения - все это и многое другое доступно в нескольких кликах. Один из главных плюсов интернет-шопинга - это в

reply

2023-05-04 15:47:25

Donaldagord

Дитячі майданчики купити? дитячі майданчики, дитячі майданчики купити, купити дитячі майданчики, дитячі майданчики ціна, дитячі майданчики продаж, дитячі майданчики від виробника, купити дитячі ігрові майданчики, дитячий майданчик, дитячий майданчик купити, купити дитячий майданчик, ігрові майданчики для дітей, придбати дитячий майданчик, дитячі ігрові та спортивні майданчики, виробництво дитячих майданчиків, ігрові майданчики, ігрові майданчики купити, купити ігрові майданчики, дитячі спортивні майданчики,

reply

2023-05-04 19:09:02

Robertslaft

Hola, volia saber el seu preu.

reply

2023-05-04 23:06:49

Isaihfax

¦¦¦¦¦ Lolit¦a tee¦n fuc¦k collecti¦on c¦p p¦thc vid pic: attn.cc/ZQwvzq ¦¦¦¦¦

reply

2023-05-05 14:23:50

Scottnof

Р˜ РЅРµ откладывайте РЅР° завтра. «Завтра» – значит «никогда». Купить электронную версию РЅР° Литрес Купить бумажное издание РЅР° Лабиринт. вњ— Социальные сети, телевизор. Как РІС‹, наверное, догадываетесь, поставить цели РЅР° РіРѕРґ мало – РёС… хорошо было Р±С‹ ещё Рё как-то достигнуть. Большая часть

reply

2023-05-06 22:53:14

Johnniesax

Anyone know what to do if you can't get into ChatGPT?

reply

2023-05-07 05:51:14

Johnniesax

Anyone know what to do if you can't get into ChatGPT?

reply

2023-05-07 11:51:52

Johnniesax

Anyone know what to do if you can't get into ChatGPT?

reply

2023-05-07 19:12:40

Johnniesax

Anyone know what to do if you can't get into ChatGPT?

reply

2023-05-08 02:57:39

Nicolesaino

Юридический адрес АУТЕНТИК, выписка ЕГРЮЛ, аналитические багаж в свой черед бухгалтерская отчетность организации доступны в системе. Any company undergoes an authenticity check to avoid any falsification. This will then open access to your personal account, where it is available: All NFT title deeds are checked within a few minutes because all data is available to any user and is recorded in the smart contract. Узнайте, как мы можем помочь Вам в решении типовых бизнес-задач! а) личным за

reply

2023-05-08 18:56:09

Johnniesax

Anyone know what to do if you can't get into ChatGPT?

reply

2023-05-09 05:19:46

Johnniesax

Anyone know what to do if you can't get into ChatGPT?

reply

2023-05-09 11:37:32

BrentNum

Сенатор США похвалил биткоин и назвал запуск CBDC опасным для общества. Запуск цифровой

reply

2023-05-24 08:29:30

wood pallets for sale

Welcome to Liquidation Pallets Near Me, your premier destination for high-quality pallets for sale! If you're on the lookout for incredible deals and a wide variety of products, you've come to the right place. Our website is dedicated to connecting savvy buyers like you with top-notch pallets sourced from reputable liquidation sources. Step into a world of possibilities as you browse through our extensive collection of pallets, each filled with a treasure trove of products waiting to be discovered. From e

reply

2023-05-26 14:41:02

נערות ליוויgeoca

It is all about how people percieve things. Personally I agree with the statement but I also do not mind other people's view points. I like this website too:

reply

2023-05-27 09:37:13

a.osmarks.net

Loving the info on this site, you have done great job oon the content.

reply

2023-05-29 01:17:25

RichardNanna

Hi there my name is MATT D'AGATI. Solar technology happens to be probably the most promising and sought-after types of clean, renewable energy in the last few years. This can be because of its numerous benefits, including cost benefits, energy efficiency, additionally the positive impact this has regarding the environment. In this article, we shall talk about the benefits of using solar power in homes and businesses, the technology behind it, and exactly how it could be implemented to increase its benefi

reply

2023-05-29 07:40:12

Scottemode

Hey guys, I'm trying to sell my house fast in Colorado and I was wondering if anyone had any tips or suggestions on how to do it quickly and efficiently? I've already tried listing it on some popular real estate websites, but I haven't had much luck yet. I'm thinking about working with a local real estate agent, but I'm not sure if that's the best option for me. I'm open to any and all suggestions, so please feel free to share your ideas. Thanks in advance!

reply

2023-05-29 23:08:48

* *