Skip to main content
Level 2
Nov 12, 2024 10:30 PM UTC

I have a problem with the times being off when publishing to sites

The October SERS board Meeting reads 9:00am, I have it set for 10a-12p. Link and screenshots below. On the November 22 meeting it appears correct but on the properties page for me it shows 2p-4p, so I’m not sure what is going on with it.

 

I added some more dates today and some of them worked properly and some I had to put incorrect times for them to display properly, there doesn’t appear to be any rhyme or reason to it!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

7 replies

arunpatidar
Community Advisor
Community Advisor
Nov 13, 2024 8:03 AM UTC

HI @kyleor 

What page property are you suing to read time?

 

// Get the cq:lastModified and cq:lastReplicated values as Calendar objects
Calendar lastModified = valueMap.get("cq:lastModified", Calendar.class);
Calendar lastReplicated = valueMap.get("cq:lastReplicated", Calendar.class);

 

Translate
Arun Patidar
KyleOrAuthor
Level 2
Nov 13, 2024 3:43 PM UTC

I'll check but do I just run that in a command line? 

Translate
arunpatidar
Community Advisor
Community Advisor
Nov 13, 2024 5:37 PM UTC

Hi @kyleor 
You need to check the following page properties from CRXDE

cq:lastModified cq:lastReplicated

 

Translate
Arun Patidar
kautuk_sahni
Level 9
Nov 25, 2024 2:18 PM UTC

@kyleor Did you find the suggestion helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!

Translate
Kautuk Sahni