Skip to content
Snippets Groups Projects
Commit 1cc86af8 authored by matograine's avatar matograine
Browse files

[mod] #344 create constants for pendulum

parent 58c3cf87
No related branches found
No related tags found
1 merge request!177#344: Fix import loop issue, Generalize pendulum usage
...@@ -32,3 +32,11 @@ MINIMAL_ABSOLUTE_TX_AMOUNT = 0.01 ...@@ -32,3 +32,11 @@ MINIMAL_ABSOLUTE_TX_AMOUNT = 0.01
MINIMAL_RELATIVE_TX_AMOUNT = 1e-6 MINIMAL_RELATIVE_TX_AMOUNT = 1e-6
CENT_MULT_TO_UNIT = 100 CENT_MULT_TO_UNIT = 100
SHORT_PUBKEY_SIZE = 8 SHORT_PUBKEY_SIZE = 8
# pendulum constants
# see https://pendulum.eustace.io/docs/#localized-formats
DATE = "LL"
HOUR = "LTS"
ALL = "LLL"
# Not ISO 8601 compliant but common
ALL_DIGITAL = "YYYY-MM-DD HH:mm:ss"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment