I have been playing with the latest release of
Notepad3, both portable and installed and I have some findings to report.
First and foremost and notwithstanding what's stated in an installed version '
Notepad3.ini' (cf. in copy below, the commented out key "
DateTimeFormat"),
Notepad3 defaults to a different locale date and time format -- i.e., something along the lines of '
%I:%M %p %m/%d/%Y' in a
Python strftime(
?) directive look-alike (e.g., see
https://strftime.org/).
All of this is rather confusing because
Notepad3 online help (
https://www.rizonesoft.com/documents/) is void of any reference and so
it took me days to figure it out.
To add further confusion,
the installed version doesn't seem to abide the path mentioned in the first line of the "[Notepad3]" section when it's uncommented in an INI file placed at the appropriate location -- the program will just throw an error when you try to edit the configuration...
CORRECTION: as it turns out, there was a further INI file at '
%PROGRAMFILES%\Notepad3\Notepad3.ini' (my install location in Windows 10) with the following content:
Code: Select all
[Notepad3]
Notepad3.ini=%APPDATA%\Rizonesoft\Notepad3\Notepad3.ini
This cascading configuration prevented other path changes from taking effect, while changing it required administrator privileges!
So, to cut short a long story:
- [If the location pointed to by the higher order INI file isn't changed...] For any effect, 'Notepad3.ini' has to be present either in the program folder (portable) or in '%APPDATA%\Rizonesoft\Notepad3\Notepad3.ini' (installed).
- To customize the date/time format for an ISO-8601 (cf. https://en.wikipedia.org/wiki/ISO_8601) compliant format, uncomment the "DateTimeFormat" key in the "[Settings2]" section and replace everything after the equal sign with the following string: '%Y-%m-%d %H:%M:%S' (unquoted!).
Please note that this change can't be done via
Notepad3 UI, it's mandatory to edit the INI file.
Yhew! That was a lot of work for such a simple option.
Content of '%APPDATA%\Rizonesoft\Notepad3\Notepad3.ini' as found after installing -- blank lines between sections added and sections relocated where noted.
Code: Select all
[Notepad3]
;Notepad3.ini=%USERPROFILE%\Notepad3.ini
;Notepad3.ini=%APPDATA%\Rizonesoft\Notepad3\Notepad3.ini
[Settings]
SettingsVersion=4
Favorites=%APPDATA%\Rizonesoft\Notepad3\Favorites\
MarkLongLines=true
[Settings2]
;IMEInteraction=0
;AutoReloadTimeout=2000
;DateTimeFormat= (-> <Locale dependent short format>)
;DateTimeLongFormat= (-> <Locale dependent long format>)
;TimeStampRegEx= (-> \$Date:[^\$]+\$ ) (Find-Pattern to Update Stamps)
;TimeStampFormat= (-> $Date: %s $) {Print format should fit to TimeStampRegEx}
;DefaultDirectory=
;DefaultExtension=txt
;DefaultWindowPosition=
;DenyVirtualSpaceAccess=0
;filebrowser.exe=minipath.exe
;grepWin.exe=grepWinNP3.exe
;FileCheckInverval=2000
;FileDlgFilters=
;FileLoadWarningMB=64
;MultiFileArg=0
;NoCGIGuess=0
;NoCopyLineOnEmptySelection=0
;NoCutLineOnEmptySelection=0
;NoFadeHidden=0
;NoFileVariables=0
;NoHTMLGuess=0
;PortableMyDocs=1
;OpacityLevel=75
;FindReplaceOpacityLevel=50
;RelativeFileMRU=1
;ReuseWindow=0
;SciFontQuality=3
;SimpleIndentGuides=0
;SingleFileInstance=1
;ShellAppUserModelID=Rizonesoft.Notepad3
;ShellUseSystemMRU=1
;StickyWindowPosition=0
;UseOldStyleBraceMatching=0
;WebTemplate1=https://google.com/search?q=%s
;WebTemplate2=https://en.wikipedia.org/w/index.php?search=%s
;ExtendedWhiteSpaceChars=
;AutoCompleteWordCharSet=
;AutoCompleteFillUpChars=
;LineCommentPostfixStrg=
;UpdateDelayMarkAllOccurrences=50
;CurrentLineHorizontalSlop=40
;CurrentLineVerticalSlop=5
;UndoTransactionTimeout=0
;AdministrationTool.exe=
;DevDebugMode=0
;AnalyzeReliableConfidenceLevel=92
;LocaleAnsiCodePageAnalysisBonus=33
;LexerSQLNumberSignAsComment=1
;ExitOnESCSkipLevel=2
;ZoomTooltipTimeout=3200
;LargeIconScalePrecent=150
[Statusbar Settings]
;VisibleSections=0 1 12 14 2 4 5 6 7 8 9 10 11
;SectionPrefixes=Ln ,Col ,Sel ,Sb ,SLn ,Occ ,,,,,,,Ch ,Repl ,Eval ,
;SectionPostfixes=,,,,,,,,,,,,,,,
;SectionWidthSpecs=30 20 20 20 20 20 0 0 0 0 0 0 20 20 20
;ZeroBasedColumnIndex=0
;ZeroBasedCharacterCount=0
[Toolbar Images]
;BitmapDefault=<[<drive>:|relative_]\path_to>\Toolbar.bmp
;BitmapHot=<[<drive>:|relative_]\path_to>\ToolbarHot.bmp
;BitmapDisabled=<[<drive>:|relative_]\path_to>\ToolbarDisabled.bmp
[Toolbar Labels]
;01=New
;02=Open
;03=Browse
;04=Save
;05=Undo
;06=Redo
;07=Cut
;08=Copy
;09=Paste
;10=Find
;11=Replace
;12=Word Wrap
;13=Zoom In
;14=Zoom Out
;15=Scheme
;16=Customize Schemes
;17=Exit
;18=Save As
;19=Save Copy
;20=Delete
;21=Print
;22=Favorites
;23=Add to Favorites
;24=Toggle Folds
;25=Execute Document
;26=Focused View
;27=Monitoring Log
;28=History
;29=Always On Top
;30=Search in Files
;--- FOLLOWING SECTIONS RELOCATED! ---
[Window]
1920x1080 HighDpiToolBar=0
1920x1080 PosX=646
1920x1080 PosY=352
1920x1080 SizeX=980
1920x1080 SizeY=777
1920x1080 Maximized=false
1920x1080 Zoom=100
[Suppressed Messages]
[Recent Files]
01="%USERPROFILE%\Desktop\test.txt"
ENC01=3
[Recent Find]
[Recent Replace]
;--- END OF RELOCATED SECTIONS! ---
[Custom Colors]
[Styles]
[Common Base]
[2nd Common Base]
[Text Files]
[ANSI Art]
[Apache Config Files]
[Assembly Script]
[AutoHotkey_L Script]
[AutoIt3 Script]
[AviSynth Script]
[Awk Script]
[Batch Files]
[C# Source Code]
[C/C++ Source Code]
[Cmake Script]
[Coffeescript]
[Configuration Files]
[CSS Style Sheets]
[CSV Prism]
[D Source Code]
[Diff Files]
[Go Source Code]
[Inno Setup Script]
[Java Source Code]
[JavaScript]
[JSON]
[LaTeX Files]
[Lua Script]
[Makefiles]
[Markdown]
[MATLAB]
[Nim Source Code]
[NSIS Script]
[Pascal Source Code]
[Perl Script]
[PowerShell Script]
[Python Script]
[Registry Files]
[Resource Script]
[R-S-SPlus Statistics Code]
[Ruby Script]
[Rust Source Code]
[Shell Script]
[SQL Query]
[Tcl Script]
[TOML Config]
[VBScript]
[VHDL]
[Visual Basic]
[Web Source Code]
[XML Document]
[YAML]