Skip to content

Commit

Permalink
Turn off date ISO conversion by default
Browse files Browse the repository at this point in the history
This is only used in the index and certain database properties. joyfullservice#459
  • Loading branch information
joyfullservice committed Nov 17, 2023
1 parent adfaa01 commit b1bf7bd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions Version Control.accda.src/modules/clsDbProperty.cls
Original file line number Diff line number Diff line change
Expand Up @@ -196,11 +196,7 @@ Private Sub IDbComponent_Merge(strFile As String)

' Remove any document properties that don't exist in the incoming file,
' then import the file.
' We don't want to parse the dates here, so turning them off for this operation only.
' See issue #459 for additional details.
JsonOptions.ConvertDateToIso = False
Set dFile = ReadJsonFile(strFile)
JsonOptions.ConvertDateToIso = True
If dFile Is Nothing Then Set dFile = New Dictionary
RemoveMissing dFile("Items"), GetDictionary

Expand Down
1 change: 0 additions & 1 deletion Version Control.accda.src/modules/clsOptions.cls
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,6 @@ Private Sub Class_Initialize()

' Other run-time options
JsonOptions.AllowUnicodeChars = True
JsonOptions.ConvertDateToIso = True

End Sub

Expand Down

0 comments on commit b1bf7bd

Please sign in to comment.