mirror of
https://github.com/google/nomulus.git
synced 2025-05-21 03:39:36 +02:00
Correct usages of DateTime.now() everywhere to DateTime.now(UTC)
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=166393128
This commit is contained in:
parent
7fb44e4f66
commit
103b3d7608
7 changed files with 16 additions and 9 deletions
|
@ -21,6 +21,7 @@ import static google.registry.util.DateTimeUtils.START_OF_TIME;
|
|||
import static google.registry.util.PreconditionsUtils.checkArgumentPresent;
|
||||
import static java.nio.charset.StandardCharsets.US_ASCII;
|
||||
import static java.nio.charset.StandardCharsets.UTF_8;
|
||||
import static org.joda.time.DateTimeZone.UTC;
|
||||
|
||||
import com.google.appengine.tools.cloudstorage.GcsFilename;
|
||||
import com.google.common.collect.ImmutableSet;
|
||||
|
@ -220,7 +221,7 @@ public class RdeImportUtils {
|
|||
.setType(HistoryEntry.Type.RDE_IMPORT)
|
||||
.setClientId(domain.getClID())
|
||||
.setTrid(generateTridForImport())
|
||||
.setModificationTime(DateTime.now())
|
||||
.setModificationTime(DateTime.now(UTC))
|
||||
.setXmlBytes(getObjectXml(element))
|
||||
.setBySuperuser(true)
|
||||
.setReason("RDE Import")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue