Skip to content

Commit e31bda4

Browse files
committed
Adjusted date format
1 parent 1637ddb commit e31bda4

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

examples/tutorials/z_other_tutorials/json_io/02_horizontal_stratigraphic.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,15 @@
1616
import json
1717
from pathlib import Path
1818
import matplotlib.pyplot as plt
19+
from datetime import datetime
1920

2021
# %%
2122
# Define the model data
2223
model_data = {
2324
"metadata": {
2425
"name": "Horizontal Stratigraphic Model",
25-
"creation_date": "2024-01-01T00:00:00",
26-
"last_modification_date": "2024-01-01T00:00:00",
26+
"creation_date": "2024-03-24",
27+
"last_modification_date": datetime.now().strftime("%Y-%m-%d"),
2728
"owner": "GemPy Team"
2829
},
2930
"surface_points": [

examples/tutorials/z_other_tutorials/json_io/03_multiple_series_faults.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
model_data = {
2626
"metadata": {
2727
"name": "Multiple Series and Faults Model",
28-
"creation_date": datetime.now().isoformat(),
29-
"last_modification_date": datetime.now().isoformat(),
28+
"creation_date": "2024-03-24", # Fixed creation date
29+
"last_modification_date": datetime.now().strftime("%Y-%m-%d"), # Current date only
3030
"owner": "GemPy Team"
3131
},
3232
"surface_points": [

0 commit comments

Comments
 (0)