Comments (2)
Hello @sergeevabc
at the moment, this feature is not supported.
Text Pastry uses strftime for formatting dates. It seems like the only way to change the format is to set the locale, which comes with all kinds of trouble (see https://stackoverflow.com/questions/985505/locale-date-formatting-in-python).
If anyone has an Idea how to achieve this in a safe way, a pull request would be very much appreciated.
Thanks for using Text Pastry!
from text-pastry.
PowerShell solution (better than nothing). Tested on v5 and v7.
[datetime]$a = Get-Date
[datetime]$b = $a.AddDays(7)
$locale = New-Object System.Globalization.CultureInfo('ru')
0..(($b -$a).Days-1) | % {$a.AddDays($_).ToString('yyyy-MM-dd dddd', $locale)}
from text-pastry.
Related Issues (20)
- "global name 'TextPastryHistory' is not defined" HOT 1
- Loop through clipboard sequence? HOT 4
- "1 x5" no longer generates 5 lines HOT 4
- How to escape number in AutoStep(as) command HOT 2
- Unable to change shorcut for "text_pastry_show_command_line", ST 3.1.1 Build 3176 HOT 2
- piping bag does not work HOT 1
- Add a command for ordinal numbers HOT 2
- Descending/countdown number range - no START HOT 2
- Hexadecimal Incrementation HOT 4
- Find, replace, increment HOT 1
- Add support for Input Handlers
- Key bindings break entering diacritics
- Step Sequence HOT 1
- Appreciation for Text Pastry HOT 1
- Issues working with Improved paste (paste the first three lines of the clipboard data to the three selected locations) HOT 7
- How to run a multiplication calculation ? HOT 1
- Overload `range N` as `N` HOT 1
- Key-bind conflict HOT 3
- TextPastryModifySelection regex $(end of line) doesn't working 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 text-pastry.