Patch: Timestamped sections in stock Notes app

Your rating: None Average: 5 (6 votes)

Add an option to the stock Notes app pulley menu for inserting timestamped sections to keep order.



Application versions: 
File sfos-patch-notes-sections-1.0.0-2.noarch.rpm7.83 KB26/06/2019 - 14:09
File sfos-patch-notes-sections-1.0.1-1.noarch.rpm8.43 KB15/07/2019 - 17:24
File sfos-patch-notes-sections-1.0.2-1.noarch.rpm8.43 KB27/12/2019 - 15:08
File sfos-patch-notes-sections-1.0.3-1.noarch.rpm8.33 KB06/12/2020 - 20:06
File sfos-patch-notes-sections-1.0.4-1.noarch.rpm8.36 KB07/12/2020 - 21:48

- add Polish translation by atlochowski

- update compatibility info: the patch is compatible with all versions of SailfishOS up to

- update compatibility info: the patch is compatible with all versions of SailfishOS 3

- translations added: Chinese, French
- internally: code cleaned up

- initial public release


Historyscholar's picture

Thanks :)

Historyscholar's picture

"zh-CN" "add timestamped section"="添加时间戳记" yyyy-MM-dd,ddd HH:mm

ichthyosaurus's picture

thanks; I uploaded a new version - please check if everything is correct!

Historyscholar's picture

Can I translate this patch ?

ichthyosaurus's picture

Yes and no...

If you can give me the following, I can add your language:

  • name of your locale (eg. "en_US" or "fr_FR")
  • translation of the string "Add timestamped section"
  • short date format string without time (like "ddd, yyyy-MM-dd", see the docs)
  • time format string (like ", HH:mm")
  • regex for the short format (like "/^[a-zA-Z]+\.?, \d+\. \d+\. \d+:\n/" for German)
  • regex for the long format (like " /^[a-zA-Z]+\.?, \d+\. \d+\. \d+, \d+:\d+ Uhr:\n/" for German)

It relies on detecting colon signs etc., though, and I don't know if that is also usable with all languages.


eson's picture

Nice thought, but can't make it work on Xperia X, SFOS and Foil Notes

Thaodan's picture

It's for the stock app.

ichthyosaurus's picture

I clarified it in the description

eson's picture

Thanks! Is it possible to make it work also with Foil Notes, or should I address Foil Notes dev?

I'm not good enough developer to make it on my own.

ichthyosaurus's picture

I'd recommend you contact the author of Foil Notes. This way, he could (for example) add proper support for translations etc. which is nearly impossible via a patch.