Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Andreas Pfanner 196 posts 314 karma points
    Oct 10, 2014 @ 17:32
    Andreas Pfanner
    0

    Date format

    Hi,

    is there a reason that in the uBlogsy views date formats are hard coded? I have problems with that on a multi lingual site (german/english), where I would like to have the culture specific format.

    So I changed for example in the uBlogsyLandingShowPost.cshtml "dddd MMMM d, yyyy" to "D" (long date format)

    and in the uBlogsyWidgetListPosts.cshtml from "d MMMM yyyy" to "d" (show date format)

    What do you think about that? Wouldn't it be more neutral (and usable for any culture) to do it that way generally in the package?

    Now I changed the template on my installation to fit these needs. What if I update the uBlogsy package later? Will it overwrite my changes in the views?

    Best Regards Andreas

Please Sign in or register to post replies

Write your reply to:

Draft