• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

2.1 Member Listing Date Bug

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Greetings, some (ok so almost all) of my users have registration dates in the future. The computer's clock isn't off either, I just checked. Is this some sort of upgrade bug? Is there some quick hack of a sql command I can run to get them at the right time?

http://www.disastrousconsequences.com/dcforum/user/list.page


[originally posted on jforum.net by TheDruidXpawX]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The problem is only in the member listing. If you go to the user's profile, you'll see the correct date. I'll register it as a bug.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I saw you change the DateFormat for your site from dd/MM/yyyy to MM/dd/yyyy
This will cause this unnormal situation to happen.
Ha, I knew this bug when I did showing member listing.
I just hide it...
The way I avoid it happen is to modify the ${user.registrationDate?date('dd/MM/yyyy')} to what date format I want.
For example, ${user.registrationDate?date('MM/dd/yyyy')}
This is not a gereral solution. But I think it's a quick fix. You can try it.
[originally posted on jforum.net by andowson]
 
machines help you to do more, but experience less. Experience this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic