Timezone display for Created by and Last Modified

66 views
Skip to first unread message

Kara Hart

unread,
Jun 13, 2025, 10:26:54 AM6/13/25
to Archivesspace Users Group
We are migrating to hosted AS and the timezone display in the SUI and PUI for record Created by and Last modified are showing UTC +0000 and we need to have this display in EST.  And the tech doesn't know themselves what to do to fix it.  


The magical AI bots tell me that I should look for the JAVA_OPTS line in the archivesspace.sh file and add this timezone snippet:
 
export JAVA_OPTS="$JAVA_OPTS -Duser.timezone=America/New_York"



It looks like the current lines in that file for release 3.5.1 are as follow although I don't have access to the actual files now:  

export JAVA_OPTS="-Darchivesspace-daemon=yes $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom"

# Wow.  Not proud of this!
export JAVA_OPTS="`echo $JAVA_OPTS | sed 's/\([#&;\`|*?~<>^(){}$\,]\)/\\\\\1/g'`"


So would I advise our vendor to change it to:

export JAVA_OPTS="-Darchivesspace-daemon=yes $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -Duser.timezone=America/New_York"

# Wow.  Not proud of this!
export JAVA_OPTS="`echo $JAVA_OPTS | sed 's/\([#&;\`|*?~<>^(){}$\,]\)/\\\\\1/g'`"


Is Duser supposed to be changed tho -Darchivesspace-daemon? and it should be: 


export JAVA_OPTS="-Darchivesspace-daemon=yes $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -Darchivesspace-daemon.timezone=America/New_York"


# Wow.  Not proud of this!
export JAVA_OPTS="`echo $JAVA_OPTS | sed 's/\([#&;\`|*?~<>^(){}$\,]\)/\\\\\1/g'`"



I wouldn't think this would require a reindex?  


Or is this all very very wrong??


Thanks for any help, 

Kara


~~~~~ Kara S. Hart 

Systems Librarian - Library & Technology Services 
Wellesley College

Blake Carver

unread,
Jun 13, 2025, 11:08:59 AM6/13/25
to Archivesspace Users Group
This just came up recently and there's a JIRA
Looks like it was fixed like the Magical AI Bots recommended


From: archivesspac...@lyrasislists.org <archivesspac...@lyrasislists.org> on behalf of Kara Hart <kstr...@wellesley.edu>
Sent: Friday, June 13, 2025 10:26 AM
To: Archivesspace Users Group <Archivesspac...@lyrasislists.org>
Subject: [ArchivesSpace Users Group] Timezone display for Created by and Last Modified
 
You don't often get email from kstr...@wellesley.edu. Learn why this is important
--
You received this message because you are subscribed to the Google Groups "Archivesspace_Users_Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to Archivesspace_User...@lyrasislists.org.
To view this discussion visit https://groups.google.com/a/lyrasislists.org/d/msgid/Archivesspace_Users_Group/CAKRVKBpsZrsYRmjSk8xN4YqUAn80z6e6Li9cG8-XDnowHqG_mw%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages