I have a problem with the times being off when publishing to sites | Community
Skip to main content
Level 2
November 12, 2024

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

  • November 12, 2024
  • 2 replies
  • 957 views

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.

2 replies

arunpatidar
Community Advisor
Community Advisor
November 13, 2024

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);

 

Arun Patidar
KyleOrAuthor
Level 2
November 13, 2024

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

arunpatidar
Community Advisor
Community Advisor
November 13, 2024

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

cq:lastModified cq:lastReplicated

 

Arun Patidar
kautuk_sahni
Community Manager
Community Manager
November 25, 2024

@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!

Kautuk Sahni