Comments (6)
What exactly does your format string look like?
from pendulum.
It doesn't return anything, just a error. Note: I am only tested in the
pt-br locale, utc formattings works normally but on converting into "human
text" it doesn't work
2016-08-19 0:22 GMT-03:00 Sébastien Eustace [email protected]:
What exactly does your format string look like?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#27 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AO93eHYTKIsRUfTnvRyekBnwqoMuf1U2ks5qhSF_gaJpZM4JoBZ4
.
from pendulum.
Can you provide a sample of your code?
from pendulum.
I am new in python and I has make something wrong while I try to generate a
"human time string" in my language like Sexta-Feira 19/08/2016 13:42.
That's a problem while I tryed to format a string, but I probably made
something wrong.
If you know how to make this, please help me if no bother :)
Sébastien Eustace [email protected] escreveu no dia sexta,
19/08/2016 às 10:04:
Can you provide a sample of your code?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#27 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AO93eJkzilf6W9Qwh02aXc5y5wadxrA9ks5qhamwgaJpZM4JoBZ4
.
from pendulum.
It would be something like this:
pendulum.now().format('%A %d/%m/%Y %H:%M', locale='pt_br')
To see how to format your instances see http://strftime.org and also https://pendulum.eustace.io/docs/#custom-directives for Pendulum's own additional directives.
from pendulum.
Thanks :D
Em sex, 19 de ago de 2016 14:51, Sébastien Eustace [email protected]
escreveu:
It would be something like this:
pendulum.now().format('%A %d/%m/%Y %H:%M', locale='pt_br')
To see how to format your instances see http://strftime.org and also
https://pendulum.eustace.io/docs/#custom-directives for Pendulum's own
additional directives.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#27 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AO93eHM5OFnkl5q5e20fGfG0EMuRrEXaks5qhe0RgaJpZM4JoBZ4
.
from pendulum.
Related Issues (20)
- instance() fails for datetimes with pytz.FixedOffsets
- "import pendulum" causes unwanted import of pytest (presence of pytest in sys.modules often used to control Python behaviour) HOT 2
- MMM is not case-insensitive like Java
- If you have the /etc/timezone file set to a timezone string, pendulum.UTC has that timezone's utcoffset instead of None HOT 1
- in_words() exclude week
- timedelta additions to pendulum.DateTime HOT 1
- extreme slow down in `in_tz` after upgrading from 2.1.2 to 3.0.0 HOT 3
- Day of week constants
- pendulum.instance & dateutil.tz compatibility
- Localized Format LT inconsistent with leading zeroes
- Default string representation is not iso anymore HOT 1
- Add DateTime to typing for diff()
- Cannot install version 2.x via pip because of dead link for get-poetry.py in build-wheels.sh HOT 1
- IsADirectoryError in datetime.py
- DeprecationWarning about datetime.utcfromtimestamp in Python-3.12
- Flexget install Raspberry PI ! HOT 3
- Bugs in `Duration` edge cases
- Remove deprecated datetime.datetime.utcfromtimestamp HOT 1
- v2.8.1 broke Pendulum math and timezone awareness HOT 1
- `pendulum.parse()` consistently fails on the last day of each month with iso week dates in 3.0.0 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pendulum.