Jump to content

Date fields showing a time instead?!


Recommended Posts

Guest Paul Alexander
Posted

Hi

One of our prog captures being used on our Portal is showing some strange behaviour.

One of the questions is 'what datewill someone start and finish', which is obviously set to a date field.

On MY portal it shows correctly, but one other peoples' portals, this shows as something else......

I've asked users to try Chrome and Internet Explorer, and it's the same on both...so what have I done wrong!?

 

thanks

MyDates.PNG

UserDates.PNG

Posted

Hi, @Paul Alexander

Thank you for your post!
Does this screenshot taken from customer portal or service portal? I will try to replicate on my dev instance.

Thanks,
Riz

Guest Paul Alexander
Posted

Hi @riz

 

They're both from the Service Portal

thanks

Posted

@Paul Alexander ... do you import the basic users from somewhere? How are the users created (e.g. the ones you mentioned to me for example)

The issue occurs because the users have an invalid date format set against their profile. If you look at the user profile in admin tool you will see the data format field empty. But this is not actually empty, it displays as empty because it contains a value not recognised by Hornbill. You can see this if you look at the user record in the database: that date format is dd:mm:yyyy.

Quick fix, ask the affected users to change their date format in their profile (or change it yourself in admin tool) and, if you import the users from somewhere else (like AD), make sure you populate a valid date format for the imported users (by valid format I mean a format accepted by Hornbill).

Guest Paul Alexander
Posted

Thanks @Victor

To save me looking (cos I'm a little lazy!!) what format does Hornbill accep for dates in the style of 01 Aug 2017 please?

 

Posted

@Paul Alexander I do not know how is stored... :(  I think is: dd MMM yyyy but not 100% sure... all accepted formats are visible in the drop down list, you can assign one and then have look how is stored in the DB... (you can run a quick report on h_sys_accounts)
 

Guest Paul Alexander
Posted

ok thank you again Victor

As usual you've been a star

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...