Comments (6)
Yeah, %e
is not supported in Python's strftime implementation. Check the docs here: http://docs.python.org/3/library/datetime.html#strftime-strptime-behavior
It seems that strfti.me and Python differ here. It doesn't seem like "day of the month without zero-padding" is supported though, which is kind of weird because that's pretty common I'd say.
from insertdate.
Instead of '%e' one could use '%d'.
from insertdate.
Not exacly the same, but %Z displays blank while %z shows +0100 here in Copenhagen
from insertdate.
From the link you posted above: %Z -> Time zone name (empty string if the object is naive).
What is 'naive' suppose to mean?
from insertdate.
Yes, %Z
is blank when you don't set a timezone for your machine in the settings. This is because I had numerous unicode problems with trying to retrieve the locale's timezone name and it's different from the representations you get when using pytz.
For me, it would always give "Mitteleuropäische Sommerzeit" for CEST for example. The latter is better in every aspect, so I decided to skip supporting %Z for the default "local" timezone and let users specify their own.
No idea what 'naive' means though.
from insertdate.
Thanks, I guess you could safely close this issue.
Good luck!
from insertdate.
Related Issues (20)
- Preview while entering format string in input panel
- . HOT 2
- Crash when use with Vintageous HOT 1
- f5 overrides default sort bind on Sublime Text HOT 5
- feature request : updated date HOT 1
- How do i uninstall this package? HOT 7
- InsertDate suddenly stopped working HOT 17
- Error message "Process being used by another process" HOT 9
- Bad version number HOT 1
- Default keybindings don't work on OS X Yosemite HOT 4
- New Feature: parse and reformat date in view HOT 4
- Don't require selecting a timezone HOT 4
- Make %Z work on locale timezone setting
- Please explain how to configure a keyboard shortcut HOT 2
- InsertDate ignores change of system timezone HOT 3
- InsertDate don't use system tzdata HOT 1
- Log the date in the status bar when creating custom date HOT 2
- Not working in Sublime Text 3 build 3143 HOT 4
- Day of the week HOT 1
- F5 .. ctrl-F5 any keybindings from InsertDate stopped working under KDE in Sublime either 4121 or 4126 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 insertdate.