Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
silkaj
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
clients
python
silkaj
Commits
1cc86af8
Commit
1cc86af8
authored
3 years ago
by
matograine
Browse files
Options
Downloads
Patches
Plain Diff
[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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
silkaj/constants.py
+8
-0
8 additions, 0 deletions
silkaj/constants.py
with
8 additions
and
0 deletions
silkaj/constants.py
+
8
−
0
View file @
1cc86af8
...
@@ -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
"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment