Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

New Post: DateFormatting, date is taken from MS SQL

$
0
0
I'm sorry, I probably could not properly explain what is required due to problems with my English.
I'll try again. The problem is not that the date format displays a message, not as I should, but the fact that the dates are starting to go the same.

What I have in mind:

Input (Here turn right date and time)
<ReplDateGood>2014-08-31T21:56:00+04:00</ReplDateGood>
<ReplDateGood>2014-09-02T11:18:00+04:00</ReplDateGood>
<ReplDateGood>2014-08-29T20:00:00+04:00</ReplDateGood>
<ReplDateGood>2014-08-28T19:20:00+04:00</ReplDateGood>
<ReplDateGood>2014-09-09T18:30:00+04:00</ReplDateGood>
Result (This is not the correct data, they are repeated)
<ReplDateGood>31.08.2014 21:56</ReplDateGood>
<ReplDateGood>31.08.2014 21:56</ReplDateGood>
<ReplDateGood>31.08.2014 21:56</ReplDateGood>
<ReplDateGood>31.08.2014 21:56</ReplDateGood>
<ReplDateGood>31.08.2014 21:56</ReplDateGood>
Here it should be:
<ReplDateGood>31.08.2014 21:56</ReplDateGood>
<ReplDateGood>02.09.2014 11:18</ReplDateGood>
<ReplDateGood>29.08.2014 20:00</ReplDateGood>
<ReplDateGood>28.08.2014 19:20</ReplDateGood>
<ReplDateGood>09.09.2014 18:30</ReplDateGood>

Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>