linuxmint / linuxmint/cinnamon

strftime.php: document %n for new lines

Open Beginner friendly
#13,754 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
5.6k
Forks
915
Avg merge
5d 22h
Merged PRs (30d)
3

Description

See: https://cinnamon-spices.linuxmint.com/strftime.php

The page currently does not mention that %n can be used to insert a new line in custom date/time formats.

I only discovered this by trial and error. A small entry in the "Misc" section would have been helpful, for example:

%n - New line

Thanks!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open https://cinnamon-spices.linuxmint.com/strftime.php and inspect the "Misc" section. Add a %n entry explaining that it inserts a new line, then verify the entry appears correctly on the page.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
90/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.