mirror of
https://github.com/HowardHinnant/date.git
synced 2025-08-05 13:44:26 +02:00
Content was not in bold.
@@ -29,7 +29,7 @@ This page contains examples and recipes contributed by community members. Feel f
|
||||
- [Print out a compact calendar for the year](#calendar)
|
||||
- [Parsing unambiguous date time inside daylight transition](#parse_daylight_transition)
|
||||
- [`microfortnights`?! Are you serious?](#microfortnights)
|
||||
- [Find UNIX download folder thanks to xdg-user-dir](#set_install_with_xdg_user_dir)
|
||||
- [Find and set UNIX download folder thanks to xdg-user-dir](#set_install_with_xdg_user_dir)
|
||||
|
||||
***
|
||||
|
||||
@@ -1659,7 +1659,7 @@ If this library can do this so easily with something as crazy as `microfortnight
|
||||
|
||||
|
||||
<a name="set_install_with_xdg_user_dir"></a>
|
||||
### Find UNIX download folder thanks to xdg-user-dir
|
||||
### Find and set UNIX download folder thanks to xdg-user-dir
|
||||
(by [Coin²](https://github.com/coin-au-carre))
|
||||
|
||||
The library uses the path `~/Downloads` by default. What if you use a different path for your download directory such as `~/Téléchargements` or `~/Завантаження` and you want your program to automatically find this path ? A solution is to use [xdg_user_dir](https://freedesktop.org/wiki/Software/xdg-user-dirs/). The following code shows you how you can do it :
|
||||
|
Reference in New Issue
Block a user