So that the time can be consistent with the server's clock, use UTC times designed for sorting instead of time zone offset.
There is a format for rendering UTC times that is designed for sorting (sorting the posts). You can do it with post.PubDate.UtcDateTime.ToString("S").Replace(':','-')
So that the time can be consistent with the server's clock, use UTC times designed for sorting instead of time zone offset.
There is a format for rendering UTC times that is designed for sorting (sorting the posts). You can do it with
post.PubDate.UtcDateTime.ToString("S").Replace(':','-')